Skip to content

Commit

Permalink
Fix logging initializer bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Salceanu committed Apr 4, 2024
1 parent f939006 commit f9c9315
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "GenieBuilder"
uuid = "c9453c14-af8a-11ec-351d-c7c9a2035d70"
authors = ["Adrian Salceanu"]
version = "0.16.75"
version = "0.16.76"

[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/logging.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Genie

log_path, log_name = if haskey(ENV, "GB_LOG_FILE") && ispath(dirname(ENV["GB_LOG_FILE"]))
(dirname(ENV["GB_LOG_FILE"]), basename(ENV["GB_LOG_FILE"]))
ENV["GB_HEADLESS"] = "true"
(dirname(ENV["GB_LOG_FILE"]), basename(ENV["GB_LOG_FILE"]))
else
Genie.config.path_log, Genie.Logger.default_log_name()
end
Expand Down

0 comments on commit f9c9315

Please sign in to comment.