Modify

Opened 3 months ago

Closed 3 months ago

Last modified 3 months ago

#23849 closed enhancement (fixed)

option to disable (reduce) log to stdout

Reported by: Cyrille37 Owned by: team
Priority: normal Milestone: 24.08
Component: Core Version: tested
Keywords: log Cc:

Description

Hi
It should be nice to have an option to disable or drastically reduce the output to stdout.

I use Linux Mint and it's application launch menu redirect stdout to /var/log/syslog and with JOSM it write thousands of lines (josm actions and all imagery tiles url ...).

Aug  8 10:27:36 ubuntu-NS5x-NS7xAU org.mate.panel.applet.MintMenuAppletFactory[6195]: Using /usr/lib/jvm/java-19-openjdk-amd64/bin/java to execute josm.
Aug  8 10:27:36 ubuntu-NS5x-NS7xAU org.mate.panel.applet.MintMenuAppletFactory[6238]: 2024-08-08 10:27:36.789 INFOS: Le niveau de journalisation est à INFOS (INFO, 800)
Aug  8 10:27:37 ubuntu-NS5x-NS7xAU org.mate.panel.applet.MintMenuAppletFactory[6238]: 2024-08-08 10:27:37.406 INFOS: Réseau IPv6 détecté, l’IPv6 sera préféré à l’IPv4.
Aug  8 10:27:37 ubuntu-NS5x-NS7xAU org.mate.panel.applet.MintMenuAppletFactory[6238]: 2024-08-08 10:27:37.634 INFOS: chargement du greffon 'jaxb' (version 36118)
Aug  8 10:27:38 ubuntu-NS5x-NS7xAU org.mate.panel.applet.MintMenuAppletFactory[6238]: 2024-08-08 10:27:38.473 INFOS: GET https://api.openstreetmap.org/api/0.6/user/details -> HTTP/1.1 200 (228 ms)
Aug  8 10:27:39 ubuntu-NS5x-NS7xAU org.mate.panel.applet.MintMenuAppletFactory[6238]: 2024-08-08 10:27:39.256 INFOS: Obtenu 159 règles Tag2Link de resource://META-INF/resources/webjars/tag2link/2024.7.8/index.json
Aug  8 10:27:40 ubuntu-NS5x-NS7xAU org.mate.panel.applet.MintMenuAppletFactory[6238]: 2024-08-08 10:27:40.941 INFOS: Action enregistrée tagging_Trees/Broad-leaved trees/Salix/Salix viminalis de la barre d’outils écrasée : org.openstreetmap.josm.gui.tagging.presets.TaggingPreset devient org.openstreetmap.josm.gui.tagging.presets.TaggingPreset
...
Aug  8 17:27:44 ubuntu-NS5x-NS7xAU org.mate.panel.applet.MintMenuAppletFactory[5058]: 2024-08-08 17:27:44.098 INFOS: GET https://data.geopf.fr/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX=21&TILEROW=733359&TILECOL=1050099&FORMAT=image%2Fjpeg -> HTTP/1.1 404 (107 ms; 143 B)
Aug  8 17:27:44 ubuntu-NS5x-NS7xAU org.mate.panel.applet.MintMenuAppletFactory[5058]: 2024-08-08 17:27:44.122 INFOS: GET https://data.geopf.fr/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX=20&TILEROW=366680&TILECOL=525048&FORMAT=image%2Fjpeg -> HTTP/1.1 404 (63 ms; 143 B)
Aug  8 17:27:44 ubuntu-NS5x-NS7xAU org.mate.panel.applet.MintMenuAppletFactory[5058]: 2024-08-08 17:27:44.149 INFOS: GET https://data.geopf.fr/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX=20&TILEROW=366680&TILECOL=525047&FORMAT=image%2Fjpeg -> HTTP/1.1 404 (64 ms; 143 B)
Aug  8 17:27:44 ubuntu-NS5x-NS7xAU org.mate.panel.applet.MintMenuAppletFactory[5058]: 2024-08-08 17:27:44.154 INFOS: GET https://data.geopf.fr/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX=20&TILEROW=366679&TILECOL=525048&FORMAT=image%2Fjpeg -> HTTP/1.1 404 (68 ms; 143 B)
Aug  8 17:27:51 ubuntu-NS5x-NS7xAU org.mate.panel.applet.MintMenuAppletFactory[5058]: 2024-08-08 17:27:51.393 INFOS: GET https://proxy-ign.openstreetmap.fr/94GjiyqD/bdortho/15/16401/11463.jpg -> HTTP/1.1 302 (49 ms; 145 B)

Attachments (0)

Change History (3)

comment:1 by stoecker, 3 months ago

Resolution: fixed
Status: newclosed

In 19177/josm:

fix #23849 - provide option to reduce loglevel to warnings

comment:2 by stoecker, 3 months ago

Milestone: 24.08

comment:3 by Cyrille37, 3 months ago

Thanks a lot :-)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.