Skip to content

Commit

Permalink
mod_log_config: Fix config merging for the "LogFormat" directive
Browse files Browse the repository at this point in the history
Submitted by: Michael Kaufmann <mail michael-kaufmann.ch>
PR: 65222
Github: closes #490


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1921305 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
notroj committed Oct 14, 2024
1 parent a569bff commit ca0bb27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/loggers/mod_log_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ static void *merge_config_log_state(apr_pool_t *p, void *basev, void *addv)
add->default_format_string = base->default_format_string;
add->default_format = base->default_format;
}
add->formats = apr_table_overlay(p, base->formats, add->formats);
add->formats = apr_table_overlay(p, add->formats, base->formats);

return add;
}
Expand Down

0 comments on commit ca0bb27

Please sign in to comment.