Moving this conversation to the user list for wider discussion. GeoServer uses log4j, you can configure additional log profiles (adding a file to the logs directory) if you wish to experiment with alternate logging levels and formatting.
There are lots of examples of how to configure log4j stack traces to one line - https://prog.world/java-collapse-multi-line-logs-into-a-single-line-log-using-spirng-and-logback-or-log4j2-logger/ It looks like the approach is to define a converter that substitutes \n - https://logging.apache.org/log4j/log4j-2.0/manual/layouts.html#PatternLayout Perhaps these can be added to make the message one line also, -- Jody Garnett On Tue, 29 Sep 2020 at 06:45, geseus <ges...@email.com> wrote: > Hi, is it possible to have log message on one line on console log? > > So, instead of: > > 2020-09-29 15:10:42 INFO [geoserver.wfs] - > Request: getFeature > service = WFS > version = 1.1.0 > baseUrl = http://localhost:8080/geoserver/ > query[0]: > typeName[0] = {http://some/namespace/uri}theLayer > maxFeatures = 50 > outputFormat = gml3 > resultType = results > > i would like to have something like this: > > 2020-09-29 15:10:42 INFO [geoserver.wfs] - Request: getFeature | service = > WFS | version = 1.1.0 | baseUrl = http://localhost:8080/geoserver/ | > query[0]: typeName[0] = {http://some/namespace/uri}theLayer | maxFeatures > = > 50 | outputFormat = gml3 | resultType = results > > Thanks a lot, > Tomas > > > > -- > Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-Dev-f3819232.html > > > _______________________________________________ > Geoserver-devel mailing list > geoserver-de...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-devel >
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users