
google-glog - issue #83
Calling ShutdownGoogleLogging() after InitGoogleLogging() does not work
What steps will reproduce the problem? 1. Call InitGoogleLogging() 2. Call ShutdownGoogleLogging() 3. Call InitGoogleLogging() again
What is the expected output? What do you see instead?
The expected behavior is that the above sequence should work. However, the glog library asserts upon seeing the above sequence saying that "You called InitGoogleLogging() twice".
The reason I'm calling the above sequence is to support process forks. In a forked child, I'd like to re-initialize logging so that the child writes to a different log file.
What version of the product are you using? On what operating system?
0.3.1. Ubuntu 10.10.
Please provide any additional information below.
Comment #1
Posted on Jan 10, 2013 by Massive WombatStatus: Fixed
Labels:
Type-Defect
Priority-Medium