mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Merge remote-tracking branch 'origin/topic/dnthayer/ticket1616'
I changed the patch slightly - now debug.log is only created, if a debug stream is enabled. BIT-1616 #merged * origin/topic/dnthayer/ticket1616: Don't create debug.log immediately upon startup
This commit is contained in:
commit
b2371752e4
5 changed files with 25 additions and 12 deletions
|
@ -754,7 +754,10 @@ int main(int argc, char** argv)
|
|||
|
||||
#ifdef DEBUG
|
||||
if ( debug_streams )
|
||||
{
|
||||
debug_logger.EnableStreams(debug_streams);
|
||||
debug_logger.OpenDebugLog("debug");
|
||||
}
|
||||
#endif
|
||||
|
||||
init_random_seed(seed, (seed_load_file && *seed_load_file ? seed_load_file : 0) , seed_save_file);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue