[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 11:06:35
|
Bugs item #3561263, was opened at 2012-08-24 04:06 Message generated for change (Tracker Item Submitted) made by psychon 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: None Priority: 5 Private: No Submitted By: Psychon (psychon) Assigned to: Nobody/Anonymous (nobody) 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 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=429073&aid=3561263&group_id=40830 |