Safe initialization of log listeners on web environments via configuration files