Re: [Lift] Re: New logging code is in master
On 04/03/10 10:42 PM, Stuart Roebuck wrote: Trying this on 2.8 with the 2.8 Lift Snapshot. The Logger trait seems to work fine though looking at the code I can't see how setup gets called. The Loggable trait is throwing a null pointer exception. Yes, this is a known one. We encountered this in LoggingSpec too. Jeppe/myself would look into it. I'm using Log4J. Stuart. P.S. I don't want to mess with other people's wiki pages, but I wonder whether it is worth consolidating the pages: "How To: Configure Logging" and "Logging in Lift". On Mar 2, 12:49 am, aw wrote: Very nice! I am looking forward to this. On Feb 28, 8:14 am, Jeppe Nejsum Madsen wrote: The newloggingcode is now in master and should be fully usable. Therefore, the existingloggingcode has been deprecated. I've added a Wiki article here:http://wiki.github.com/dpp/liftweb/logging-in-lift /Jeppe -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
Re: [Lift] Re: New logging code is in master
On Thu, Mar 4, 2010 at 6:12 PM, Stuart Roebuck wrote: > Trying this on 2.8 with the 2.8 Lift Snapshot. > > The Logger trait seems to work fine though looking at the code I can't > see how setup gets called. It should be called when the lazy val checkConfig is being initialized. > > The Loggable trait is throwing a null pointer exception. > > I'm using Log4J. Could you show (part of) the stacktrace? There's another glitch with the Logger specs in the 2.8 branch so I may get some time to look at this soon. > > Stuart. > > P.S. I don't want to mess with other people's wiki pages, but I > wonder whether it is worth consolidating the pages: "How To: Configure > Logging" and "Logging in Lift". It's a community wiki. Feel free to edit :-) And you're right they should be consolidated. I actually thought I did a search before creating the new page...oh well. /Jeppe -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
[Lift] Re: New logging code is in master
Trying this on 2.8 with the 2.8 Lift Snapshot. The Logger trait seems to work fine though looking at the code I can't see how setup gets called. The Loggable trait is throwing a null pointer exception. I'm using Log4J. Stuart. P.S. I don't want to mess with other people's wiki pages, but I wonder whether it is worth consolidating the pages: "How To: Configure Logging" and "Logging in Lift". On Mar 2, 12:49 am, aw wrote: > Very nice! I am looking forward to this. > > On Feb 28, 8:14 am, Jeppe Nejsum Madsen wrote: > > > > > The newloggingcode is now in master and should be fully usable. > > Therefore, the existingloggingcode has been deprecated. > > > I've added a Wiki article > > here:http://wiki.github.com/dpp/liftweb/logging-in-lift > > > /Jeppe -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
[Lift] Re: New logging code is in master
Very nice! I am looking forward to this. On Feb 28, 8:14 am, Jeppe Nejsum Madsen wrote: > The new logging code is now in master and should be fully usable. > Therefore, the existing logging code has been deprecated. > > I've added a Wiki article > here:http://wiki.github.com/dpp/liftweb/logging-in-lift > > /Jeppe -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
[Lift] Re: New logging code is in master
On Sun, Feb 28, 2010 at 5:14 PM, Jeppe Nejsum Madsen wrote: > The new logging code is now in master and should be fully usable. > Therefore, the existing logging code has been deprecated. .although I don't seem to get any deprecation warnings when using eg Log.info Can somebody confirm if the deprecation works? /Jeppe -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.