diff options
author | Micael Karlberg <[email protected]> | 2011-03-28 11:09:46 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2011-03-28 11:09:46 +0200 |
commit | 3b9072a22c8050215c3d72e46c31e73c2a95532d (patch) | |
tree | c6a6a250a9f6ec5da7aa5b3d3bee841572bfe5d2 /lib/inets/src/http_server/httpd_log.erl | |
parent | 04623176f365ac58eba1df64d3054eba6c482ce4 (diff) | |
parent | cbe8b2e034a8b2cd6052df5e27f1b229ded9748e (diff) | |
download | otp-3b9072a22c8050215c3d72e46c31e73c2a95532d.tar.gz otp-3b9072a22c8050215c3d72e46c31e73c2a95532d.tar.bz2 otp-3b9072a22c8050215c3d72e46c31e73c2a95532d.zip |
Merge branch 'rj/fix-httpd-format' into bmk/inets/inet56_integration
OTP-9157
Diffstat (limited to 'lib/inets/src/http_server/httpd_log.erl')
-rw-r--r-- | lib/inets/src/http_server/httpd_log.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/inets/src/http_server/httpd_log.erl b/lib/inets/src/http_server/httpd_log.erl index f3ea3aa0e2..db1e2c627a 100644 --- a/lib/inets/src/http_server/httpd_log.erl +++ b/lib/inets/src/http_server/httpd_log.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2009. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -113,7 +113,7 @@ do_error_entry(ConfigDB, RemoteHost, undefined, Date, Reason) -> do_error_entry(ConfigDB, RemoteHost, URI, Date, Reason) -> case httpd_util:lookup(ConfigDB, error_log_format, pretty) of pretty -> - io_lib:format("[~s] access to ~s failed for ~s reason: ~n~p~n", + io_lib:format("[~s] access to ~s failed for ~s, reason: ~n~p~n", [Date, URI, RemoteHost, Reason]); compact -> io_lib:format( "[~s] access to ~s failed for ~s, reason: ~w~n", |