Skip to content

Commit

Permalink
v0.25.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian committed Feb 4, 2020
1 parent 2e70bc0 commit d534c09
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Genie"
uuid = "c43c736e-a2d1-11e8-161f-af95117fbd1e"
authors = ["Adrian Salceanu <[email protected]>"]
version = "0.25.2"
version = "0.25.3"

[deps]
ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63"
Expand Down
7 changes: 3 additions & 4 deletions files/new_app/config/initializers/logging.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ function initialize_logging()

logger = if Genie.config.log_to_file
isdir(Genie.config.path_log) || mkpath(Genie.config.path_log)
LoggingExtras.DemuxLogger(
LoggingExtras.TeeLogger(
LoggingExtras.FileLogger(joinpath(Genie.config.path_log, "$(Genie.config.app_env)-$(Dates.today()).log"), always_flush = true, append = true),
Logging.ConsoleLogger(stdout, Genie.config.log_level),
include_current_global = false
Logging.ConsoleLogger(stdout, Genie.config.log_level)
)
else
Logging.ConsoleLogger(stdout, Genie.config.log_level)
Expand All @@ -20,7 +19,7 @@ function initialize_logging()
merge(log, (; message = "$(Dates.format(Dates.now(), date_format)) $(log.message)"))
end

LoggingExtras.DemuxLogger(LoggingExtras.MinLevelLogger(logger, Genie.config.log_level), include_current_global = false) |> timestamp_logger |> global_logger
LoggingExtras.TeeLogger(LoggingExtras.MinLevelLogger(logger, Genie.config.log_level)) |> timestamp_logger |> global_logger

nothing
end
Expand Down
2 changes: 1 addition & 1 deletion src/Configuration.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Core genie configuration / settings functionality.
"""
module Configuration

const GENIE_VERSION = v"0.25.2"
const GENIE_VERSION = v"0.25.3"

import Logging
import Genie
Expand Down

2 comments on commit d534c09

@essenciary
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/8858

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.25.3 -m "<description of version>" d534c09328cfbf952584a130f3cd503c9e94fa8c
git push origin v0.25.3

Please sign in to comment.