Issue 116 in google-glog: Missing GetLogfilename()

14 views
Skip to first unread message

codesite...@google.com

unread,
Mar 2, 2012, 8:20:04 PM3/2/12
to googl...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 116 by macropan...@gmail.com: Missing GetLogfilename()
http://code.google.com/p/google-glog/issues/detail?id=116

There appears to be no GetLogDestination() function available to the end
user.

Expecting something parallel to SetLogDestination()

std::string GetLogDestination( LogSeverity severity );

I realize one could "calculate" the current logfile destination, but that
will depend on how the current process/thread ID is determined.

codesite...@google.com

unread,
Sep 5, 2012, 7:08:47 PM9/5/12
to googl...@googlegroups.com

Comment #1 on issue 116 by benjamin...@gmail.com: Missing GetLogfilename()
http://code.google.com/p/google-glog/issues/detail?id=116

This issue would be very nice to have for Apache Mesos, which uses glog
extensively. We'd like to be able to dynamically know where the logs are in
order to expose them to end users.

As such, I've attached a patch adding this functionality, please review and
I'd be happy to improve it if there are any comments!

Attachments:
glog_filename.patch 3.5 KB

Reply all
Reply to author
Forward
0 new messages