| 
									
										
										
										
											2023-08-02 03:13:46 -04:00
										 |  |  | *.example.com { | 
					
						
							|  |  |  | 	log { | 
					
						
							|  |  |  | 		hostnames foo.example.com bar.example.com | 
					
						
							|  |  |  | 		output file /foo-bar.txt | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | 	log { | 
					
						
							|  |  |  | 		hostnames baz.example.com | 
					
						
							|  |  |  | 		output file /baz.txt | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2023-10-17 01:57:03 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | example.com:8443 { | 
					
						
							|  |  |  | 	log { | 
					
						
							|  |  |  | 		output file /port.txt | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2023-08-02 03:13:46 -04:00
										 |  |  | ---------- | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  | 	"logging": { | 
					
						
							|  |  |  | 		"logs": { | 
					
						
							|  |  |  | 			"default": { | 
					
						
							|  |  |  | 				"exclude": [ | 
					
						
							|  |  |  | 					"http.log.access.log0", | 
					
						
							| 
									
										
										
										
											2023-10-17 01:57:03 -04:00
										 |  |  | 					"http.log.access.log1", | 
					
						
							|  |  |  | 					"http.log.access.log2" | 
					
						
							| 
									
										
										
										
											2023-08-02 03:13:46 -04:00
										 |  |  | 				] | 
					
						
							|  |  |  | 			}, | 
					
						
							|  |  |  | 			"log0": { | 
					
						
							|  |  |  | 				"writer": { | 
					
						
							|  |  |  | 					"filename": "/foo-bar.txt", | 
					
						
							|  |  |  | 					"output": "file" | 
					
						
							|  |  |  | 				}, | 
					
						
							|  |  |  | 				"include": [ | 
					
						
							|  |  |  | 					"http.log.access.log0" | 
					
						
							|  |  |  | 				] | 
					
						
							|  |  |  | 			}, | 
					
						
							|  |  |  | 			"log1": { | 
					
						
							|  |  |  | 				"writer": { | 
					
						
							|  |  |  | 					"filename": "/baz.txt", | 
					
						
							|  |  |  | 					"output": "file" | 
					
						
							|  |  |  | 				}, | 
					
						
							|  |  |  | 				"include": [ | 
					
						
							|  |  |  | 					"http.log.access.log1" | 
					
						
							|  |  |  | 				] | 
					
						
							| 
									
										
										
										
											2023-10-17 01:57:03 -04:00
										 |  |  | 			}, | 
					
						
							|  |  |  | 			"log2": { | 
					
						
							|  |  |  | 				"writer": { | 
					
						
							|  |  |  | 					"filename": "/port.txt", | 
					
						
							|  |  |  | 					"output": "file" | 
					
						
							|  |  |  | 				}, | 
					
						
							|  |  |  | 				"include": [ | 
					
						
							|  |  |  | 					"http.log.access.log2" | 
					
						
							|  |  |  | 				] | 
					
						
							| 
									
										
										
										
											2023-08-02 03:13:46 -04:00
										 |  |  | 			} | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 	}, | 
					
						
							|  |  |  | 	"apps": { | 
					
						
							|  |  |  | 		"http": { | 
					
						
							|  |  |  | 			"servers": { | 
					
						
							|  |  |  | 				"srv0": { | 
					
						
							|  |  |  | 					"listen": [ | 
					
						
							|  |  |  | 						":443" | 
					
						
							|  |  |  | 					], | 
					
						
							|  |  |  | 					"routes": [ | 
					
						
							|  |  |  | 						{ | 
					
						
							|  |  |  | 							"match": [ | 
					
						
							|  |  |  | 								{ | 
					
						
							|  |  |  | 									"host": [ | 
					
						
							|  |  |  | 										"*.example.com" | 
					
						
							|  |  |  | 									] | 
					
						
							|  |  |  | 								} | 
					
						
							|  |  |  | 							], | 
					
						
							|  |  |  | 							"terminal": true | 
					
						
							|  |  |  | 						} | 
					
						
							|  |  |  | 					], | 
					
						
							|  |  |  | 					"logs": { | 
					
						
							|  |  |  | 						"logger_names": { | 
					
						
							| 
									
										
										
										
											2024-04-16 18:26:18 -04:00
										 |  |  | 							"bar.example.com": [ | 
					
						
							|  |  |  | 								"log0" | 
					
						
							|  |  |  | 							], | 
					
						
							|  |  |  | 							"baz.example.com": [ | 
					
						
							|  |  |  | 								"log1" | 
					
						
							|  |  |  | 							], | 
					
						
							|  |  |  | 							"foo.example.com": [ | 
					
						
							|  |  |  | 								"log0" | 
					
						
							|  |  |  | 							] | 
					
						
							| 
									
										
										
										
											2023-08-02 03:13:46 -04:00
										 |  |  | 						} | 
					
						
							|  |  |  | 					} | 
					
						
							| 
									
										
										
										
											2023-10-17 01:57:03 -04:00
										 |  |  | 				}, | 
					
						
							|  |  |  | 				"srv1": { | 
					
						
							|  |  |  | 					"listen": [ | 
					
						
							|  |  |  | 						":8443" | 
					
						
							|  |  |  | 					], | 
					
						
							|  |  |  | 					"routes": [ | 
					
						
							|  |  |  | 						{ | 
					
						
							|  |  |  | 							"match": [ | 
					
						
							|  |  |  | 								{ | 
					
						
							|  |  |  | 									"host": [ | 
					
						
							|  |  |  | 										"example.com" | 
					
						
							|  |  |  | 									] | 
					
						
							|  |  |  | 								} | 
					
						
							|  |  |  | 							], | 
					
						
							|  |  |  | 							"terminal": true | 
					
						
							|  |  |  | 						} | 
					
						
							|  |  |  | 					], | 
					
						
							|  |  |  | 					"logs": { | 
					
						
							|  |  |  | 						"logger_names": { | 
					
						
							| 
									
										
										
										
											2024-04-16 18:26:18 -04:00
										 |  |  | 							"example.com": [ | 
					
						
							|  |  |  | 								"log2" | 
					
						
							|  |  |  | 							] | 
					
						
							| 
									
										
										
										
											2023-10-17 01:57:03 -04:00
										 |  |  | 						} | 
					
						
							|  |  |  | 					} | 
					
						
							| 
									
										
										
										
											2023-08-02 03:13:46 -04:00
										 |  |  | 				} | 
					
						
							|  |  |  | 			} | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | } |