ontio / ontology

Official Go implementation of the Ontology protocol. https://dev-docs.ont.io/#/
GNU Lesser General Public License v3.0
829 stars 290 forks source link

update log PATH when init log #1408

Closed qiluge closed 2 years ago

qiluge commented 2 years ago

Log system always use PATH variable to create new log file. If log-dir that user specified is not same with PATH default value, the new log file would be created to PATH, not user specified log-dir.