Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output all logs to files #84

Closed
SarahG-579462 opened this issue Jul 3, 2024 · 3 comments · Fixed by #86
Closed

Output all logs to files #84

SarahG-579462 opened this issue Jul 3, 2024 · 3 comments · Fixed by #86
Assignees

Comments

@SarahG-579462
Copy link

One of the disadvantages I found with this tool is that there is only ever the latest mod component in the log. Could this be changed to append to setup-(modname).debug? I imagine this could be done with weidu --log (filename) in your call, since if I remember right this appends by default.

@dark0dave
Copy link
Owner

Sure this is an easy one to add, I can add a flag.

@dark0dave dark0dave self-assigned this Jul 3, 2024
@dark0dave
Copy link
Owner

I will add the flag log mode:

which will support:

  --log X       log output and details to X
  --autolog     log output and details to WSETUP.DEBUG
  --logapp      append to log instead of overwriting
  --log-extern  also log output from commands invoked by WeiDU

@dark0dave
Copy link
Owner

@SarahG-579462 you'll be able pass multiple settings:

example:

--weidu-log-mode log /somepath logapp log-extern

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants