[Log4cplus-devel] [ log4cplus-Bugs-3561263 ] PatternLayout: printing just the file name
Logging Framework for C++
Brought to you by:
wilx
From: SourceForge.net <no...@so...> - 2012-08-24 16:30:59
|
Bugs item #3561263, was opened at 2012-08-24 04:06 Message generated for change (Comment added) made by wilx You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=429073&aid=3561263&group_id=40830 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open >Resolution: Works For Me Priority: 5 Private: No Submitted By: Psychon (psychon) >Assigned to: Václav Zeman (wilx) Summary: PatternLayout: printing just the file name Initial Comment: Right now, when using %F in a pattern, the filename as seen by the compiler gets used. This can include parts of a relative path, especially for headers (but also when an out-of-tree build was used while compiling the source). This looks ugly. I have two suggestions: - Change %F (and %l) to just print the substring after the last directory seperator ("/" or "\", depending on OS). - Add new modifiers that do the above. Please let me know if you see this as an issue that should be fixed and which fix you would prefer. Thanks, Uli ---------------------------------------------------------------------- >Comment By: Václav Zeman (wilx) Date: 2012-08-24 09:30 Message: This is already implemented using %b specifier at least on trunk. . ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=429073&aid=3561263&group_id=40830 |