Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed logging format, removed unnecessary quotation #79

Merged
merged 1 commit into from
Oct 16, 2015

Conversation

GalaxyGorilla
Copy link
Contributor

relevant stuff for systemd's journal:

https://gist.github.com/GalaxyGorilla/added61676fc9620ae97

@@ -170,13 +170,12 @@ handle_call(_Call, _From, State) ->
%% @hidden
handle_info({?IDLE_TIMEOUT_MSG, TimerRef}, State = #state{timer = Timer, id = Id, mod = Mod})
when Timer#timer.idle_timeout_ref == TimerRef ->
?LOG_WARNING_reason(Mod, Id, "Hello handler with callback module '~p' and service id '~p' is going to stop due to idle timeout.",
[Mod, Id], {error, idle_timeout}, ?LOGID27),
?LOG_WARNING_reason(Mod, Id, "~p : stopping due to idle timeout", [Mod], {error, idle_timeout}, ?LOGID27),
Copy link
Contributor

Choose a reason for hiding this comment

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

is "going to stop" and "stopping" here really the same?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes

@sschindler89
Copy link
Contributor

👍

@GalaxyGorilla
Copy link
Contributor Author

I ran into some trouble here with the dependency resolution of hex. See elixir-lang/elixir#3872. It seems the lager package has a flaw in the dependency specification. That's also the reason for the failing tests.

@GalaxyGorilla
Copy link
Contributor Author

#80 fixed the goldrush dependency issue.

@GalaxyGorilla GalaxyGorilla force-pushed the log_format branch 3 times, most recently from 698154f to 30c472f Compare October 16, 2015 09:20
surik added a commit that referenced this pull request Oct 16, 2015
fixed logging format, removed unnecessary quotation
@surik surik merged commit c659c9d into travelping:master Oct 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants