torrust_tracker/servers/logging.rs
1/// This is the prefix used in logs to identify a started service.
2///
3/// For example:
4///
5/// ```text
6/// 2024-06-25T12:36:25.025312Z INFO UDP TRACKER: Started on: udp://0.0.0.0:6969
7/// 2024-06-25T12:36:25.025445Z INFO HTTP TRACKER: Started on: http://0.0.0.0:7070
8/// 2024-06-25T12:36:25.025527Z INFO API: Started on http://0.0.0.0:1212
9/// 2024-06-25T12:36:25.025580Z INFO HEALTH CHECK API: Started on: http://127.0.0.1:1313
10/// ```
11pub const STARTED_ON: &str = "Started on";
12
13/*
14
15todo: we should use a field fot the URL.
16
17For example, instead of:
18
19```
202024-06-25T12:36:25.025312Z INFO UDP TRACKER: Started on: udp://0.0.0.0:6969
21```
22
23We should use something like:
24
25```
262024-06-25T12:36:25.025312Z INFO UDP TRACKER started_at_url=udp://0.0.0.0:6969
27```
28
29*/