#175 Different pattern for different log levels

future
open
Václav Zeman
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 Zeman
    Václav Zeman
    2010-03-06

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

     
  • Václav Zeman
    Václav Zeman
    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 Zeman
    Václav Zeman
    2013-07-14

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

     
  • Václav Zeman
    Václav Zeman
    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