Added possibility to restrict the log.message length in configuration file