Hi all,

I am using Logging.jl as follows:

@Logging.configure(filename = "path/to/repo/mylogfile.log", level = INFO)

This works fine. However I would like to set the log file name as a global 
variable (const my_log_file = "path/to/repo/mylogfile.log") and then call a 
script that includes the following line:

@Logging.configure(filename = my_log_file, level = INFO)

When I do this I get the following error:

ERROR: LoadError: UndefVarError: my_log_file not defined

Any ideas?

Thanks,
Jock

Reply via email to