Project

General

Profile

Feature #735948

Deprecation warning about use of numeric log level

Added by Marko Lindqvist 12 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Category:
General
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Maybe we should give deprecation warning when user gives log level with their numerical value.

History

#1 Updated by Sim Sulla 10 months ago

Corrected part of pull request. #735948

#2 Updated by Marko Lindqvist 10 months ago

  • Status changed from New to In Progress

The message should be marked for translation using _() macro.

#3 Updated by Sim Sulla 9 months ago

Added _() macro

#4 Updated by Marko Lindqvist 9 months ago

Outside the scope of this ticket, but this depends on the order of the commandline parameters - whether deprecation warnings have been enabled by the time log level is parsed. 'freeciv-server -w -d 2' gives the deprecation warning, 'freeciv-server -d 2 -w' does not.

#5 Updated by Marko Lindqvist 9 months ago

Combined related commits into one patch. Applies both to master and S3_0.

#6 Updated by Marko Lindqvist 8 months ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF