Log files add a parameter to each script
Currently there appears to be no way to control the generation of log files.
I have a job running every 5 mins.
I do not want to see the log files.
Can we have a new parameter which controls the calling of the logging script ?
The ability to disable the logging opens up the possibility of bad actors installing scripts that you do want logged that don't.
The logfile names are based on the script invocation. Just run a crown job every (5/10/15) minutes to purge those logs.
On Tue, Apr 22, 2025, 5:16 PM AlanMerry @.***> wrote:
Currently there appears to be no way to control the generation of log files.
I have a job running every 5 mins.
I do not want to see the log files.
Can we have a new parameter which controls the calling of the logging script ?
— Reply to this email directly, view it on GitHub https://github.com/bugy/script-server/issues/788, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3HBI3TSRA74RXOEZKPIJT3222WSPAVCNFSM6AAAAAB3UWWQU2VHI2DSMVQWIX3LMV43ASLTON2WKOZTGAYTEMJUGY4TGNY . You are receiving this because you are subscribed to this thread.Message ID: @.***> AlanMerry created an issue (bugy/script-server#788) https://github.com/bugy/script-server/issues/788
Currently there appears to be no way to control the generation of log files.
I have a job running every 5 mins.
I do not want to see the log files.
Can we have a new parameter which controls the calling of the logging script ?
— Reply to this email directly, view it on GitHub https://github.com/bugy/script-server/issues/788, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3HBI3TSRA74RXOEZKPIJT3222WSPAVCNFSM6AAAAAB3UWWQU2VHI2DSMVQWIX3LMV43ASLTON2WKOZTGAYTEMJUGY4TGNY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
The default for scripts would be to create logs.
The question is to have a parameter per script, new unknown scripts would still create logs.
Hi @AlanMerry I won't be able to do it, but you can submit a PR for it, if you have time.
actually I tried to usecopilot to solve this, let's see the results :)