versitygw icon indicating copy to clipboard operation
versitygw copied to clipboard

[Feature] - Add the VersityGW version in the startup message

Open nathanschumann opened this issue 6 months ago • 3 comments

Describe the solution you'd like The current startup message includes the version of Fiber which is probably not interesting to any users.

Example:

Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: ┌───────────────────────────────────────────────────┐
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: │                     versitygw                     │
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: │                   Fiber v2.52.5                   │
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: │               http://127.0.0.1:9000/              │
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: │       (bound on host 0.0.0.0 and port 9000)       │
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: │                                                   │
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: │ Handlers ............ 24  Processes ........... 1 │
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: │ Prefork ....... Disabled  PID .............. 7447 │
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: └───────────────────────────────────────────────────┘
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: ┌───────────────────────────────────────────────────┐
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: │                     versitygw                     │
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: │                   Fiber v2.52.5                   │
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: │              http://127.0.0.1:10000/              │
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: │      (bound on host 0.0.0.0 and port 10000)       │
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: │                                                   │
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: │ Handlers ............ 10  Processes ........... 1 │
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: │ Prefork ....... Disabled  PID .............. 7447 │
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: └───────────────────────────────────────────────────┘

The output should be something like:

Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: ┌───────────────────────────────────────────────────┐
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: │                     versitygw                     │
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: │                   Version 1.0.5                   │
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: │              http://127.0.0.1:10000/              │
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: │      (bound on host 0.0.0.0 and port 10000)       │
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: │                                                   │
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: │ Handlers ............ 10  Processes ........... 1 │
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: │ Prefork ....... Disabled  PID .............. 7447 │
Aug 12 13:19:24 s81 versitygw-scoutfs[7447]: └───────────────────────────────────────────────────┘

Additional context

nathanschumann avatar Aug 12 '24 14:08 nathanschumann