summaryrefslogtreecommitdiff
path: root/caddytest/integration/caddyfile_adapt
diff options
context:
space:
mode:
Diffstat (limited to 'caddytest/integration/caddyfile_adapt')
-rw-r--r--caddytest/integration/caddyfile_adapt/global_options_debug_with_access_log.txt45
1 files changed, 45 insertions, 0 deletions
diff --git a/caddytest/integration/caddyfile_adapt/global_options_debug_with_access_log.txt b/caddytest/integration/caddyfile_adapt/global_options_debug_with_access_log.txt
new file mode 100644
index 0000000..772cd08
--- /dev/null
+++ b/caddytest/integration/caddyfile_adapt/global_options_debug_with_access_log.txt
@@ -0,0 +1,45 @@
+{
+ debug
+}
+
+:8881 {
+ log {
+ format console
+ }
+}
+----------
+{
+ "logging": {
+ "logs": {
+ "default": {
+ "level": "DEBUG",
+ "exclude": [
+ "http.log.access.log0"
+ ]
+ },
+ "log0": {
+ "encoder": {
+ "format": "console"
+ },
+ "level": "DEBUG",
+ "include": [
+ "http.log.access.log0"
+ ]
+ }
+ }
+ },
+ "apps": {
+ "http": {
+ "servers": {
+ "srv0": {
+ "listen": [
+ ":8881"
+ ],
+ "logs": {
+ "default_logger_name": "log0"
+ }
+ }
+ }
+ }
+ }
+} \ No newline at end of file