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

log location #11

Closed
bigmac5753 opened this issue Jul 6, 2021 · 3 comments
Closed

log location #11

bigmac5753 opened this issue Jul 6, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@bigmac5753
Copy link

In linux, opening the file in the same location as a log file always opens up the log in the default location.

Also, the --log= option doesn't work, I get this error:

mike@linux-mm:~/.chia/mainnet/log$ ./chia-log-analyzer.go-linux-amd64 --log=/home/mike/.seno2/mainnet/log/debug.log
flag provided but not defined: -log
Usage of ./chia-log-analyzer.go-linux-amd64:
  -writelog
    	write log?
@kubec
Copy link
Owner

kubec commented Jul 7, 2021

Hello, thank you for report. I will try print more info when cannot open file.

@kubec kubec added the bug Something isn't working label Jul 7, 2021
@H34dl3ss
Copy link

H34dl3ss commented Jul 7, 2021

I moved the .chia folder to another location with the CHIA_ROOT environment variable.
The binary is still in the log directory but starting with absolute path is not working anymore.

 /new/path/.chia/mainnet/log/chia-log-analyzer.go-linux-arm
Please specify path to the log file, with parameter: log (--log=/path/to/debug.log)
/new/path/.chia/mainnet/log/chia-log-analyzer.go-linux-arm --log=/new/path/.chia/mainnet/log/debug.log
flag provided but not defined: -log
Usage of /media/Daten/.chia/mainnet/log/chia-log-analyzer.go-linux-arm:
  -writelog
        write log?

It is working if I cd into the log directory and start the binary from that location.

@kubec
Copy link
Owner

kubec commented Jul 17, 2021

Fixed in new release 0.5

@kubec kubec closed this as completed Jul 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants