Closed eshelB closed 7 months ago
@eshelB I think it will be better to update go-tfhe as well for future uses. Shouldn't we delete logger.go now? Also, how is it working with a minimal log level?
correct, I will delete it. You can set the log level on the --log-level
nitro configuration, (as well as on the json config file, and with the LOG__LEVEL env variable if I understood this function that loads env - default env-prefix is empty string).
Now FheOS logs to the same output file that nitro logs to, using the same logger, so the logs are merged into nitro's logs, as cashmaney preferred (they have a key
module=fheos
for convenience).By default, the output log file is located at
~/.arbitrum/{chain-name}/nitro.log
This can be overridden by the cli flag "--file-logging.file {file}" or by appending the following to the file specified at--config.file
TODO: currently go-tfhe can log the same way, but the rust part cannot log with the same logger
nitro: https://github.com/FhenixProtocol/nitro/pull/55 go-tfhe: https://github.com/FhenixProtocol/go-tfhe/pull/29 monday: https://fhenix.monday.com/boards/1216577959/views/4451803/pulses/1365349778