Project

General

Profile

Feature #735948

Deprecation warning about use of numeric log level

Added by Marko Lindqvist over 1 year ago. Updated about 1 year 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 about 1 year ago

Corrected part of pull request. #735948

#2 Updated by Marko Lindqvist about 1 year ago

  • Status changed from New to In Progress

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

#3 Updated by Sim Sulla about 1 year ago

Added _() macro

#4 Updated by Marko Lindqvist about 1 year 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 about 1 year ago

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

#6 Updated by Marko Lindqvist about 1 year ago

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

Also available in: Atom PDF