|
Mike, I create the log files for tomcat in a startup shell script. I did this to get the right CCSID but it should work for you. cygwin=false os400=false case "'uname'" in CYGWIN*) cygwin=true;; OS400*) os400=true;; esac ... if $os400; then touch -C 819 "$CATALINA_BASE"/logs/catalina.out # set your authority here fi David Morris >>> msilvers@xxxxxxxxxxx 3/8/2004 6:23:22 AM >>> All, I have a bit of a problem. I have a web application running in an Apache environment. I have a class that creates a log file for specific information when the web app is running. I need to keep the code platform neutral. This creates a new log file each day. My problem is with file authorities. When the new file is created each day, the authorities are set to *PUBLIC *EXCLUDE and QTMHHTTP *RW. When the normal Apache logs are created daily, the authorities are *PUBLIC *RWX, QTMHHTTP *RWX, HBSPGMR *RWX. I need the log files I create in the class to have the same authorities as the Apache server log files. I also need this to be platform neutral -- so I can not use iSeries specific classes. Any ideas/examples?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.