You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by mr19 <ma...@yahoo.com> on 2007/10/04 20:19:33 UTC
Console messages now buffered
Hi -
Recently upgraded to 0.10 from 0.9.7 and I am now noticing that my console
messages buffered. Is there anything that can be done? I tried setting
ImmediateFlush=true for my console appender with no luck.
TIA
Marc
--
View this message in context: http://www.nabble.com/Console-messages-now-buffered-tf4570455.html#a13045543
Sent from the Log4cxx - Users mailing list archive at Nabble.com.
Re: Console messages now buffered
Posted by mr19 <ma...@yahoo.com>.
Ok, sorry for wasting everybody's time on this one. Put some debug code in
the lib only to find out the lib wasn't the problem. I am running on Linux
with a ' | tee -a /tmp/out' so I could get my output on both the console &
in a file. Turns out the tee command is buffering. Just stopped using the
tee command and added a file appender to the config file. Everything is
back to normal (not sure why I just noticed the buffering though as I've
been running this app for several month).
Thanks for your responses.
Marc
Curt Arnold-3 wrote:
>
>
> On Oct 5, 2007, at 10:11 AM, mr19 wrote:
>
>>
>> I ran across that prior to posting which is why I tried the
>> immediateFlush
>> setting, unfortunately with no luck. Wouldn't that fix have made
>> its way
>> into the 0.10 release already?
>
> log4cxx-0.10 hasn't been released yet, but that fix has been in the
> SVN for over a year. You would have to have a very stale snapshot to
> not have that code in your version.
>
> Since you are apparently still having problems, please update to the
> latest SVN HEAD anddescribe your platform, compiler, configuration
> file and the specific symptoms you are seeing that indicate a problem
> either in a bug report or on the mailing list. I personally won't
> have time to look at it till next week, but someone else might take a
> crack at it.
>
>
>
>
--
View this message in context: http://www.nabble.com/Console-messages-now-buffered-tf4570455.html#a13065687
Sent from the Log4cxx - Users mailing list archive at Nabble.com.
Re: Console messages now buffered
Posted by Curt Arnold <ca...@apache.org>.
On Oct 5, 2007, at 10:11 AM, mr19 wrote:
>
> I ran across that prior to posting which is why I tried the
> immediateFlush
> setting, unfortunately with no luck. Wouldn't that fix have made
> its way
> into the 0.10 release already?
log4cxx-0.10 hasn't been released yet, but that fix has been in the
SVN for over a year. You would have to have a very stale snapshot to
not have that code in your version.
Since you are apparently still having problems, please update to the
latest SVN HEAD anddescribe your platform, compiler, configuration
file and the specific symptoms you are seeing that indicate a problem
either in a bug report or on the mailing list. I personally won't
have time to look at it till next week, but someone else might take a
crack at it.
Re: Console messages now buffered
Posted by mr19 <ma...@yahoo.com>.
I ran across that prior to posting which is why I tried the immediateFlush
setting, unfortunately with no luck. Wouldn't that fix have made its way
into the 0.10 release already?
Curt Arnold-3 wrote:
>
>
> On Oct 4, 2007, at 3:09 PM, mr19 wrote:
>
>>
>> Thanks Andy. As soon as I can get my svn update to succeed I'll
>> give it a
>> try.
>>
>
> Could be this issue: https://issues.apache.org/jira/browse/LOGCXX-156.
>
>
>
--
View this message in context: http://www.nabble.com/Console-messages-now-buffered-tf4570455.html#a13061396
Sent from the Log4cxx - Users mailing list archive at Nabble.com.
Re: Console messages now buffered
Posted by Curt Arnold <ca...@apache.org>.
On Oct 4, 2007, at 3:09 PM, mr19 wrote:
>
> Thanks Andy. As soon as I can get my svn update to succeed I'll
> give it a
> try.
>
Could be this issue: https://issues.apache.org/jira/browse/LOGCXX-156.
Re: Console messages now buffered
Posted by mr19 <ma...@yahoo.com>.
Thanks Andy. As soon as I can get my svn update to succeed I'll give it a
try.
log4cxx wrote:
>
> Hi Marc,
>
> We noticed this as well. We were working off of slightly old 0.10 code at
> the time. Getting the latest 0.10 code and recompiling solved the problem.
>
> -Andy
>
> On 10/4/07, mr19 <ma...@yahoo.com> wrote:
>
> Hi -
>
> Recently upgraded to 0.10 from 0.9.7 and I am now noticing that my console
> messages buffered. Is there anything that can be done? I tried setting
> ImmediateFlush=true for my console appender with no luck.
>
> TIA
> Marc
> --
> View this message in context:
> http://www.nabble.com/Console-messages-now-buffered-tf4570455.html#a13045543
> Sent from the Log4cxx - Users mailing list archive at Nabble.com.
>
>
--
View this message in context: http://www.nabble.com/Console-messages-now-buffered-tf4570455.html#a13047857
Sent from the Log4cxx - Users mailing list archive at Nabble.com.