Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Logging problem in prod mode
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Justin  
View profile  
 More options Jul 13 2012, 8:19 am
From: Justin <ppa...@gmail.com>
Date: Fri, 13 Jul 2012 05:19:58 -0700 (PDT)
Local: Fri, Jul 13 2012 8:19 am
Subject: Re: [2.0] Logging problem in prod mode

I have encountered the same problem.

Nobody resolved this?

2012년 4월 24일 화요일 오전 12시 5분 47초 UTC+9, ArnaudT 님의 말:

> Hi Guys,

> I have some difficulties to configure the log in production
> I followed this page:
> https://github.com/playframework/Play20/wiki/ProductionConfiguration

> I use the play dist command to generate the distrib package

> Then I use this command to start the server
> ./start -Dlogger.file=/var/www/logger.xml -Dconfig.file=/var/www/prod.conf
> -Dhttp.port=9001
> The configuration and port is well loaded, not the logger config.

> I use the latest Play 2.1-SNAPSHOT

> Furthermore,
> I have different behavior between my mac and a debian machine. The
> classpath is not loaded in the same way
> If I use a logback.xml in /conf instead of a logger.xml. The logger config
> is well loaded on my mac but not in a debian machine.

> On a mac
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:/Users/arnaud/dist/streamhub-analytics-1.0-SNAPSHOT/lib/ch.qos.lo gback.logback-classic-1.0.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/Users/arnaud/dist/streamhub-analytics-1.0-SNAPSHOT/lib/org.slf4j .slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/Users/arnaud/dist/streamhub-analytics-1.0-SNAPSHOT/lib/org.slf4j .slf4j-simple-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.

> On a debian box (Linux sh-arnaud 2.6.32-5-amd64 #1 SMP Thu Mar 22 17:26:33
> UTC 2012 x86_64 GNU/Linux)
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:/var/www/streamhub-analytics-1.0-SNAPSHOT/lib/org.slf4j.slf4j-log 4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/var/www/streamhub-analytics-1.0-SNAPSHOT/lib/org.slf4j.slf4j-sim ple-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/var/www/streamhub-analytics-1.0-SNAPSHOT/lib/ch.qos.logback.logb ack-classic-1.0.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.

> Have you ever had some logging issue? What command do you use?
> What should I do to make the logging works on my production environment?

> Thanks a lot for your help!
> Arnaud.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.