Closed rgaufman closed 6 years ago
Eye.config section executed after config evaluated, so this messages executed before logger settled (on parsing stage), on the second eye load
, there is this messages.
workaround:
LOGGER = ...
# Eye self-configuration section
Eye.config do
logger LOGGER
end
Eye.application 'test' do
LOGGER.warn("Test Logging 1")
end
Ah, thank you, the workaround works :)
I have this code:
When I run
eye l testeye.rb
, I see this in the logs:The "Test Logging 1" and "Test Logging 2" are both missing from the log file despite having
logger.warn("Test Logging 1")
andlogger.warn("Test Logging 2")
in my source.Any ideas?