Page 1 of 1

HTTP srvr way to clear SYSOUT while a job/task is running?

PostPosted: Wed May 20, 2015 9:01 pm
by chinatrain99
We have an HTTP server that currently has a SYSOUT of 12M lines. We have to bounce the HTTP server occasionally to free up all the space in the JES spool. Paperwork/outages suck so I was wondering if there is a way to "clear" the SYSOUT via a batch job. There may also be a setting in the HTTP server that will exclude these messages too which may be an even easier option. Any help is appreciated. Thanks, Jeff


Thousands of these messages

Ý111EC0E8 07/Apr/2015:05:09:51.474368¨: myauth had retcode 0.

Ý111EC0E8 07/Apr/2015:05:09:51.474469¨: myauth sending return_code 200.

Re: HTTP srvr way to clear SYSOUT while a job/task is runnin

PostPosted: Wed May 20, 2015 11:02 pm
by Robert Sample
In your httpd.conf file, what are AccessLogSizeLimit and ErrorLogSizeLimit set to? Practically, you might want to dummy out SYSOUT (although I haven't had a chance to research and verify that this is valid) and look at the logs through Unix System Services if any issues arise. You could also specify AccessLogExcludeReturnCode 200 to exclude them from the log.

Re: HTTP srvr way to clear SYSOUT while a job/task is runnin

PostPosted: Wed May 20, 2015 11:14 pm
by chinatrain99
AccessLogSizeLimit 0
ErrorLogSizeLimit 0

I see this in there...looks to be an example
# AccessLogExcludeReturnCode 300
make it
AccessLogExcludeReturnCode 200

seems easy enough

Re: HTTP srvr way to clear SYSOUT while a job/task is runnin

PostPosted: Wed May 20, 2015 11:19 pm
by chinatrain99
Thanks!!

Re: HTTP srvr way to clear SYSOUT while a job/task is runnin

PostPosted: Wed May 20, 2015 11:27 pm
by chinatrain99
that should cut the messages by 1/2. is there a way to get rid of myauth had retcode 0.

Ý11203258 07/Apr/2015:05:01:37.295591¨: myauth had retcode 0.