Mailing List webobjects-dev@wocommunity.org Message #524
From: John Pollard <john@pollardweb.com>
Subject: Re: [WO-DEV] apache WO adaptor logging?
Date: Tue, 22 Oct 2024 19:43:59 +0100
To: WebObjects & WOnder Development <webobjects-dev@wocommunity.org>
I got it working in the end, I moved the logging out of /tmp and into /var/log/httpd
I am not sure if SELinux security was blocking the apps writing to it, so I made sure that was not the case:
sudo semanage permissive -a httpd_t
When httpd is started, the log file appears and you get some start up logging, but no request logging unless you change the permissions on the file that root has created, so that others (apache?) can write to it, I just chmod 777 and that worked, all requests now logging - I actually compiled the adaptor to ALWAYS_LOG by commenting out a precompile directive before building mod_webObjects.so but I guess touching /tmp/logWebObjects should work if I rewind that.

On 18 Oct 2024, at 17:53, John Pollard <john@pollardweb.com> wrote:

How can I get the apache WO adaptor to log it’s output these days? Touching /tmp/logWebObjects didn’t cause any logging to occur.

My webobjects.conf file has:

WebObjectsLog /tmp/WebObjects.log Debug

But doesn’t produce the goods when I touch the above mentioned file.

Thanks
John
#############################################################
This message is sent to you because you are subscribed to
 the mailing list <webobjects-dev@wocommunity.org>.
To unsubscribe, E-mail to: <webobjects-dev-off@wocommunity.org>
To switch to the DIGEST mode, E-mail to <webobjects-dev-digest@wocommunity.org>
To switch to the INDEX mode, E-mail to <webobjects-dev-index@wocommunity.org>
Send administrative queries to  <webobjects-dev-request@wocommunity.org>


Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster