Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log output is redirected to stdout #5

Open
romanr opened this issue May 2, 2012 · 1 comment
Open

Log output is redirected to stdout #5

romanr opened this issue May 2, 2012 · 1 comment

Comments

@romanr
Copy link
Contributor

romanr commented May 2, 2012

play run Has Camel log output dumped into stdout.

It shouldn't be dumping to stdout and use Play logger.
And if it's dumping to stdout shouldn't it go to Play's system.out?
Is there a way to configure logging to use Play logger?

play run

~        _            _ 
~  _ __ | | __ _ _  _| |
~ | '_ \| |/ _' | || |_|
~ |  __/|_|\____|\__ (_)
~ |_|            |__/   
~
~ play! 1.2.4, http://www.playframework.org
~ framework ID is developer
~
~ Ctrl+C to stop
~ 
Listening for transport dt_socket at address: 8000
May 3, 2012 12:26:34 AM net.sf.oval.internal.Log info
INFO: gnu.trove collection classes are available.

Can't load 'akka.conf'.
One of the three ways of locating the 'akka.conf' file needs to be defined:
    1. Define the '-Dakka.config=...' system property option.
    2. Put the 'akka.conf' file on the classpath.
    3. Define 'AKKA_HOME' environment variable pointing to the root of the Akka distribution.
I have no way of finding the 'akka.conf' configuration file.
Using default values everywhere.
[INFO]    [5/3/12 12:26 AM] [play-thread-1] [CamelContextManager$] Camel context initialized
[INFO]    [5/3/12 12:26 AM] [play-thread-1] [CamelContextManager$] Camel context started

@marcuspocus
Copy link
Owner

yes, i'll have a look

Flex IT
Marc Deschamps
Tel.: 01 43 94 33 64
Mob: 06 99 21 38 12
Fax: 09 55 28 38 12
[email protected]
http://www.flexitpro.com

Le 2 mai 2012 à 16:28, Roman Roan
[email protected]
a écrit :

play runHAs calmel log output dumped into stdout.

It shouldn't be dumping to stdout and use Play logger.
And if it's dumping to stdout shouldn't it go to Play's system.out?
Is there a way to configure logging to use Play logger?

play run

~        _            _
~  _ __ | | __ _ _  _| |
~ | '_ \| |/ _' | || |_|
~ |  __/|_|\____|\__ (_)
~ |_|            |__/
~
~ play! 1.2.4, http://www.playframework.org
~ framework ID is developer
~
~ Ctrl+C to stop
~
Listening for transport dt_socket at address: 8000
May 3, 2012 12:26:34 AM net.sf.oval.internal.Log info
INFO: gnu.trove collection classes are available.

Can't load 'akka.conf'.
One of the three ways of locating the 'akka.conf' file needs to be defined:
   1. Define the '-Dakka.config=...' system property option.
   2. Put the 'akka.conf' file on the classpath.
   3. Define 'AKKA_HOME' environment variable pointing to the root of the Akka distribution.
I have no way of finding the 'akka.conf' configuration file.
Using default values everywhere.
[INFO]    [5/3/12 12:26 AM] [play-thread-1] [CamelContextManager$] Camel context initialized
[INFO]    [5/3/12 12:26 AM] [play-thread-1] [CamelContextManager$] Camel context started


Reply to this email directly or view it on GitHub:
#5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants