Menu

#175 Different pattern for different log levels

future
open
5
2013-08-14
2010-03-05
Psychon
No

It would be nice if one could set different patterns for different log levels in the pattern layout. E.g. file name and line number only for debug and trace messages.

Discussion

  • Václav Haisman

    Václav Haisman - 2010-03-06

    This feature sounds interesting. Is there an existing implementation in any of the other logging libraries out there?

     
  • Václav Haisman

    Václav Haisman - 2010-03-06
    • assigned_to: nobody --> wilx
     
  • Psychon

    Psychon - 2010-03-06

    I dont know any existing implementations, it just seemed like good idea. :)

     
  • Václav Haisman

    Václav Haisman - 2013-07-14

    Ticket moved from /p/log4cplus/feature-requests/23/

     
  • Václav Haisman

    Václav Haisman - 2013-08-14
    • labels: --> enhancement
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,6 +1 @@
    -Hi again,
    -
    -it would be nice if one could set different patterns for different log levels in the pattern layout. E.g. file name and line number only for debug and trace messages.
    -
    -Thanks again.
    -Uli
    +It would be nice if one could set different patterns for different log levels in the pattern layout. E.g. file name and line number only for debug and trace messages.
    
    • Group: --> future
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.