## ## ## BlueMap ## ## Webserver-Config ## ## ## # With this setting you can disable the integrated webserver. # This is useful if you want to only render the map data for later use, or if you setup your own webserver. # Default is true enabled: true # The webroot that the server will host to the web. # Usually this should be set to the same directory like in the webapp.conf! # Default is "bluemap/web" webroot: "bluemap/web" # The port that the webserver listens to. # Default is 8100 port: 8100 # Config-section for webserver activity logging: log: { # The file where all the webserver activity will be logged to. # Comment out to disable the logging completely. # Java String formatting syntax can be used to add timestamps, see: https://docs.oracle.com/javase/8/docs/api/java/util/Formatter.html # Default is no logging. file: "bluemap/logs/webserver.log" #file: "bluemap/logs/webserver_%1$tF_%1$tT.log" # Whether the logger should append to an existing file, or overwrite it. # Default is false (overwrite the file). append: false # The format of the webserver acivity logs. # The syntax is the Java String formatting syntax, see: https://docs.oracle.com/javase/8/docs/api/java/util/Formatter.html # Possible Arguments: | Example output # 1 - the source address (ignoring any xff headers). | 10.10.10.10 # 2 - the source address (using the (leftmost) xff header if provided). | 88.66.44.22 # 3 - the http method of the request. | GET # 4 - the full request address. | /assets/file.png # 5 - the protocol version of the request. | HTTP/1.1 # 6 - the status code of the response. | 200 # 7 - the status message of the response. | OK # Default is "%1$s \"%3$s %4$s %5$s\" %6$s %7$s" | 10.10.10.10 "GET /assets/file.png HTTP/1.1" 200 OK format: "%1$s \"%3$s %4$s %5$s\" %6$s %7$s" }