Check out the timestamps. Logging at Heroku is a vastly distributed system. Sometimes log lines do get mixed up. Ordering by the timestamps will sort this.
On Tue, Apr 21, 2015 at 3:48 PM, Alan Alfredo Rojas Marroquin < [email protected]> wrote: > Hi everyone. > > I have a Java Play Framework App deployed on Heroku. In my local app when > I start app I can see this log > > [info] c.z.a.z.o.MessageSubscriber : - Subcribing logger service to redis > channel... > *[info] c.z.a.z.o.MessageSubscriber : - Synchronizing loggers...* > *[error] c.z.a.z.o.MessageSubscriber : - com.zagile: ERROR* > *[error] c.z.a.z.o.MessageSubscriber : - Level for com.zagile: ERROR* > *[error] c.z.a.z.o.MessageSubscriber : - Efective Level for com.zagile: > ERROR* > [info] a.e.s.Slf4jLogger : - Slf4jLogger started > > But in Heroku I can see this: > > 2015-04-21T14:35:05.633291+00:00 app[web.1]: [info] > c.z.a.z.o.MessageSubscriber : - Subcribing logger service to redis > channel... > *2015-04-21T14:35:05.636483+00:00 app[web.1]: [error] > c.z.a.z.o.MessageSubscriber : - com.zagile: ERROR* > *2015-04-21T14:35:05.634623+00:00 app[web.1]: [info] > c.z.a.z.o.MessageSubscriber : - Synchronizing loggers...* > *2015-04-21T14:35:05.636708+00:00 app[web.1]: [error] > c.z.a.z.o.MessageSubscriber : - Level for com.zagile: ERROR* > *2015-04-21T14:35:05.636795+00:00 app[web.1]: [error] > c.z.a.z.o.MessageSubscriber : - Efective Level for com.zagile: ERROR* > 2015-04-21T14:35:07.192830+00:00 app[web.1]: [info] a.e.s.Slf4jLogger : - > Slf4jLogger started > > The sequence logs in bold in my local enviroment is right. All of them are > in same method. But in heroku is not right. *Synchronizing loggers... *should > be before of *com.zagile: ERROR* > > Maybe you can help to undertand whay this happend. > > Thanks! > > > > > > -- > -- > You received this message because you are subscribed to the Google > Groups "Heroku" group. > > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en_US?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Heroku Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en_US?hl=en --- You received this message because you are subscribed to the Google Groups "Heroku Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
