Suggestion: name debug log with timestamp or similar

Discussion related to "Everything" 1.5.
Post Reply
cube
Posts: 7
Joined: Thu Jul 14, 2016 11:30 pm

Suggestion: name debug log with timestamp or similar

Post by cube »

Hi,

I think it would be beneficial to name the debug log to include e.g. the current datestamp/time (at least as a default setting)? This would assist greatly in troubleshooting, and potentially save efforts to re-create a scenario (something I have just gone through :D )

OR, perhaps to 'append' by default (pros and cons to that, but preferable to overwriting)

Thanks
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Suggestion: name debug log with timestamp or similar

Post by void »

The debug logs can grow really large.

For simplicity and ease of management, I would like to keep a well defined debug log filename:
%TEMP%\Everything Debug Log.txt

You can enable a timestamped filename version under Tools -> Options -> Advanced -> debug_log_filename_timestamp=true
therube
Posts: 5723
Joined: Thu Sep 03, 2009 6:48 pm

Re: Suggestion: name debug log with timestamp or similar

Post by therube »

You can enable a timestamped filename version under Tools -> Options -> Advanced -> debug_log_filename_timestamp=true
I'm laughing as I was reading that.
You wouldn't believe how many times I went into E:\Windows\Temp
and manually:

Code: Select all

Everything Service Debug Log-1.5a.txt 11/12/2025 11:22:12 AM
Everything Service Debug Log-1.5a - 9-22-25.txt 09/22/2025 02:19:03 PM
...
Everything Service Debug Log-1.5a - o - 9-19-25.txt 09/19/2025 03:15:19 PM
Everything Service Debug Log-1.5a - 0 - 8-8-25.txt 08/08/2025 03:42:06 PM
Everything Service Debug Log-1.5a - o OK - K failed.txt 07/11/2025 03:24:04 PM
Everything Service Debug Log-1.5a - o worked, K FAILED.txt 06/18/2025 03:38:32 PM
Everything Service Debug Log-1.5a - O - 6-12-25 & WITH 1394 so that did not fix it.txt 06/12/2025 03:40:04 PM
...
Everything Service Debug Log-1.5a-02-26-25 kevin borrow cable.txt 02/26/2025 11:37:27 AM
.
You can enable a timestamped filename version under Tools -> Options -> Advanced -> debug_log_filename_timestamp=true
Just one issue with that, that I see - it doesn't seem to be working?
Just (still) getting Everything Debug Log-15.txt, Everything Service Debug Log-1.5a.txt.

(Does it need an Everything restart?)
- YES. Everything Debug Log 2025-11-12 11.38.58-HOME.txt


And I'll note that white "Debug Log.txt" does go into %TMP%,
"Service Debug Log.txt" goes into %WINDIR%\Temp

In my case, Windows is installed onto E:, but I have %TMP% remapped to C:
E:\Users\RUBEN7>ECHO %TMP%
C:\Local\RUBEN7\Temp

E:\Users\RUBEN7>ECHO %WINDIR%
E:\Windows


Oh, & it seems that (while "Debug Log.txt" does get timestamped),"Service Debug Log.txt" does not get timestamped.
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Suggestion: name debug log with timestamp or similar

Post by void »

A restart is required after changing debug_log_filename_timestamp.

The Service Debug log is stored in:
%WINDIR%\Temp\Everything Service Debug Log.txt

The Everything Service doesn't load your Everything config.
I will consider a -debug-log-filename-timestamp command line option for the service.
therube
Posts: 5723
Joined: Thu Sep 03, 2009 6:48 pm

Re: Suggestion: name debug log with timestamp or similar

Post by therube »

I will consider a -debug-log-filename-timestamp command line option for the service.
Don't know that would help, at least in my case, cause at all times, Everything was already up & running.
Post Reply