hiddify-next icon indicating copy to clipboard operation
hiddify-next copied to clipboard

Avoid writing logs on disk

Open radiumatic opened this issue 1 year ago • 0 comments

Search first

  • [X] I searched and no similar issues were found

What Happened?

If you import a config by its URL, there will be a field in log object prompting singbox to write the logs to disk. This creates unnecessary I/O and can damage storage devices.

"log": {
    "level": "info",
    "output": "box.log",
    "timestamp": true
  },

Reproduce the Bug

Import any config, really.

Expected Behavior

This field not being the in the log object

Version

Any

Platform/OS

Android

Additional Context

No response

Relevant log output

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • [ ] I'm willing to submit a PR (Thank you!)

radiumatic avatar Jan 26 '24 21:01 radiumatic