You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Leos Literak <li...@centrum.cz> on 2002/12/02 12:29:33 UTC
changed user -> strange behaviour
Hi,
I run jetty and today I switched it from my user
to www-data. Since then logging is really strange.
I (still) use log4j 1.1.3
so what happens:
files were belonging to user literakl and I made them
world writabeble. All parent directories were r-x.
During init stage it wrote few information to one log file.
Since then no output is written to any log file,
even if I trigger actions, that always log.
So I stopped jetty and made files and parent dir
belong to group www-data. Again init info is
written but nothing else.
So I stopped it and made files and dir belong to user
www-data, which runs jetty. Same behaviour - init
is logged but nothing else.
I dont understand this. If it was OS error like
insufficient rights, neither init was logged.
But log4j CAN write to logs (init is logged).
And later it doesnt log anything. I cannot believe
my eyes. I dont understand this. Do you?
Thanks
Leos
--
Leos Literak
http://AbcLinuxu.cz - tady je tucnakum hej!
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: changed user -> strange behaviour
Posted by Leos Literak <li...@seznam.cz>.
sorry, stop script didn't work correctly,
so in fact original jetty was wunning.
when killall -ed all javas and started
jetty, it worked fine.
still I am confused, why RollingFileAppender
was not able to write to file but occasionally.
it is really strange and I dont expect, it
is reproducibly.
leos
--
Leos Literak
http://AbcLinuxu.cz - tady je tucnakum hej!
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>