You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Hiram Chirino (JIRA)" <ji...@apache.org> on 2006/10/15 17:55:17 UTC
[jira] Commented: (AMQ-927) Default log4j.properties has stdout
enabled and not the out file appender
[ https://issues.apache.org/activemq/browse/AMQ-927?page=comments#action_37186 ]
Hiram Chirino commented on AMQ-927:
-----------------------------------
I just started up activemq from the command line and noticed this change. I think that the previous behaviour of logging to the console was a good idea. That way folks see when the broker is fully started and what transports are opened and such.
> Default log4j.properties has stdout enabled and not the out file appender
> -------------------------------------------------------------------------
>
> Key: AMQ-927
> URL: https://issues.apache.org/activemq/browse/AMQ-927
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 4.0.1
> Reporter: Jason Dillon
> Assigned To: Rob Davies
> Priority: Trivial
> Fix For: 4.1
>
>
> The default log4j.properties has:
> {noformat}
> log4j.rootLogger=INFO, stdout
> {noformat}
> and then goes on to say:
> {noformat}
> # CONSOLE appender not used by default
> log4j.appender.stdout=org.apache.log4j.ConsoleAppender
> ..
> {noformat}
> And it also has this header... which is misleading:
> {noformat}
> #
> # The logging properties used during tests..
> #
> {noformat}
> Also not sure why this would be in data... nor do I ever see this being created, even when out is enabled...
> {noformat}
> log4j.appender.out.file=${activemq.home}/data/activemq.log
> {noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [jira] Commented: (AMQ-927) Default log4j.properties has stdout enabled and not the out file appender
Posted by Jason Dillon <ja...@planet57.com>.
I would enable both of them.. and fix the comments in the file that
indicate that only the file appender is used.
--jason
On Oct 15, 2006, at 8:55 AM, Hiram Chirino (JIRA) wrote:
> [ https://issues.apache.org/activemq/browse/AMQ-927?
> page=comments#action_37186 ]
>
> Hiram Chirino commented on AMQ-927:
> -----------------------------------
>
> I just started up activemq from the command line and noticed this
> change. I think that the previous behaviour of logging to the
> console was a good idea. That way folks see when the broker is
> fully started and what transports are opened and such.
>
>> Default log4j.properties has stdout enabled and not the out file
>> appender
>> ---------------------------------------------------------------------
>> ----
>>
>> Key: AMQ-927
>> URL: https://issues.apache.org/activemq/browse/
>> AMQ-927
>> Project: ActiveMQ
>> Issue Type: Bug
>> Affects Versions: 4.0.1
>> Reporter: Jason Dillon
>> Assigned To: Rob Davies
>> Priority: Trivial
>> Fix For: 4.1
>>
>>
>> The default log4j.properties has:
>> {noformat}
>> log4j.rootLogger=INFO, stdout
>> {noformat}
>> and then goes on to say:
>> {noformat}
>> # CONSOLE appender not used by default
>> log4j.appender.stdout=org.apache.log4j.ConsoleAppender
>> ..
>> {noformat}
>> And it also has this header... which is misleading:
>> {noformat}
>> #
>> # The logging properties used during tests..
>> #
>> {noformat}
>> Also not sure why this would be in data... nor do I ever see this
>> being created, even when out is enabled...
>> {noformat}
>> log4j.appender.out.file=${activemq.home}/data/activemq.log
>> {noformat}
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the
> administrators: https://issues.apache.org/activemq/secure/
> Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/
> software/jira
>
>