Serwlety w tym API pozwalają logować wiadomości na serwerze za pomocą Loggera z biblioteki log4j. Można logować na następujących poziomach: error, warn, info, debug, trace. Każdy poziom posiada swój osobny serwlet. Ścieżki do serwletów w zależności od poziomu logowania są następujące:
Wszystkie serwlety posiadają taką samą konfigurację: Metoda: POST Request Content-Type: application/json Treść zapytania: Obiekt JSON zawierający parametry logowania. Definicja powinna zawierać następujące pola:
Odpowiedź: Brak
|
The servlets in this API allow you to log messages to the server using Logger from the log4j library. You can log at the following levels: error, warn, info, debug, trace. Each level has its own separate servlet. The paths to the servlets according to the logging level are as follows:
All servlets have the same configuration: Method: POST Request Content-Type: application/json Query Content: JSON object containing the logging parameters. The definition should contain the following fields:
Answer: None
|