Log to a file when deployed
This commit is contained in:
parent
585e04463f
commit
7b075a4ae6
|
@ -4,7 +4,7 @@ Genie.Configuration.config!(
|
||||||
server_port = 8000,
|
server_port = 8000,
|
||||||
server_host = "0.0.0.0",
|
server_host = "0.0.0.0",
|
||||||
log_level = Logging.Error,
|
log_level = Logging.Error,
|
||||||
log_to_file = false,
|
log_to_file = true,
|
||||||
server_handle_static_files = true, # for best performance set up Nginx or Apache web proxies and set this to false
|
server_handle_static_files = true, # for best performance set up Nginx or Apache web proxies and set this to false
|
||||||
path_build = "build",
|
path_build = "build",
|
||||||
format_julia_builds = false,
|
format_julia_builds = false,
|
||||||
|
@ -16,4 +16,4 @@ if Genie.config.server_handle_static_files
|
||||||
It is recommended to set up Apache or Nginx as a reverse proxy and cache to serve static assets.")
|
It is recommended to set up Apache or Nginx as a reverse proxy and cache to serve static assets.")
|
||||||
end
|
end
|
||||||
|
|
||||||
ENV["JULIA_REVISE"] = "off"
|
ENV["JULIA_REVISE"] = "off"
|
||||||
|
|
Loading…
Reference in New Issue