diff options
author | Ricardo Catalinas Jiménez <[email protected]> | 2011-03-17 01:30:51 +0100 |
---|---|---|
committer | Ricardo Catalinas Jiménez <[email protected]> | 2011-03-17 01:55:13 +0100 |
commit | cbe8b2e034a8b2cd6052df5e27f1b229ded9748e (patch) | |
tree | 61b054c23b50ebb6ff9d90b3dfc431626931f0a1 /lib/inets/src/http_server/httpd_log.erl | |
parent | 91b2e57ea0e3ab794d4b57a12ef10205383525a5 (diff) | |
download | otp-cbe8b2e034a8b2cd6052df5e27f1b229ded9748e.tar.gz otp-cbe8b2e034a8b2cd6052df5e27f1b229ded9748e.tar.bz2 otp-cbe8b2e034a8b2cd6052df5e27f1b229ded9748e.zip |
Fix log messages formating in httpd
Diffstat (limited to 'lib/inets/src/http_server/httpd_log.erl')
-rw-r--r-- | lib/inets/src/http_server/httpd_log.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inets/src/http_server/httpd_log.erl b/lib/inets/src/http_server/httpd_log.erl index f3ea3aa0e2..4b0f49d560 100644 --- a/lib/inets/src/http_server/httpd_log.erl +++ b/lib/inets/src/http_server/httpd_log.erl @@ -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", |