greenbone / ospd

OSPd is a framework for vulnerability scanners which share the same communication protocol: OSP (Open Scanner Protocol)
GNU Affero General Public License v3.0
30 stars 36 forks source link

Changed timezone of logger to UTC #394

Closed Kraemii closed 3 years ago

Kraemii commented 3 years ago

What: The logger now uses UTC for timestamps.

Why: GVM, GSA and openVAS-Scanner used UTC and ospd-openvas used local time.

How: When initializing the Logger the timezone is set to UTC. It works when starting ospd-openvas.

Checklist:

codecov[bot] commented 3 years ago

Codecov Report

Merging #394 (7fa61c9) into master (21a832d) will decrease coverage by 0.05%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #394      +/-   ##
==========================================
- Coverage   75.14%   75.08%   -0.06%     
==========================================
  Files          23       23              
  Lines        2667     2669       +2     
==========================================
  Hits         2004     2004              
- Misses        663      665       +2     
Impacted Files Coverage Δ
ospd/logger.py 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 21a832d...7fa61c9. Read the comment docs.

jjnicola commented 3 years ago

:+1: