LiskArchive / lisk-sdk

🔩 Lisk software development kit
https://lisk.com
Apache License 2.0
2.72k stars 455 forks source link

Log File functionality is broken #8742

Closed Gr33nDrag0n69 closed 1 year ago

Gr33nDrag0n69 commented 1 year ago

Expected behavior

A log file is created under ~/.lisk/lisk-core/logs/

The config is set to info by default so a log file should exist...

Actual behavior

No log file found, anywhere.

Which version(s) does this affect? (Environment, OS, etc...)

lisk-core-v4.0.0-beta.1-linux-x64.tar.gz

shuse2 commented 1 year ago

The logs on lisk-core 4.0 (sdk 6.0) is written directly to stdout and stderr. Therefore, node operator can choose how to export the logs using standard toolings now.

The logs folder should be removed from the SDK side not to confuse node operator

ManuGowda commented 1 year ago

@shuse2 I am transferring this issue to SDK, so that you can handle the log folder issue.