rcelyte / BeatUpRcelyte

A lightweight modded Beat Saber multiplayer server
The Unlicense
16 stars 5 forks source link

Add timestamp with status updates #10

Closed jabberjabberjabber closed 1 year ago

jabberjabberjabber commented 1 year ago

For beatupserver updates to stdout

Instead of:

[internal.c] (HTTP,bssb): /

Could we have:

<YYYYMMDD-HHMMSS> [internal.c] (HTTP,bssb): /

or something similar?

It would be useful since I am piping this output to a file to use for logs.

Thanks.

rcelyte commented 1 year ago

Timestamps can be injected into any pipe without involving the application itself; See this StackExchange question for a few options on how to do that. Additionaly, many init daemons will prepend their own timestamps to service logs, making such a feature redundant.