ThePrez / ServiceCommander-IBMi

Service Commander for IBM i
Apache License 2.0
40 stars 12 forks source link

[BUG] Logfile name uses wrong elements in timestamp #203

Closed chrjorgensen closed 1 year ago

chrjorgensen commented 1 year ago

Describe the bug

The generated logfile name was intended to use a name like <timestamp>.<service>.<action>.log. The timestamp format was specified as yyyy-MM-dd-HH.mm.ss. However, this is wrong when used in DB2 VARCHAR_FORMAT SQL function:

To Reproduce

Check the logfiles generated by the current version of Service Commander.

Expected behavior

Verbose output Run the command with the -v option and share the output here.

Additional context Add any other context about the problem here.

ThePrez commented 1 year ago

Resolved by #204. Thanks!