Commit Graph

24 Commits

Author SHA1 Message Date
Andrew Dolgov dcf0135285 logger: shorter syntax 2021-02-25 15:49:30 +03:00
Andrew Dolgov 7874f6ac58 remove PHPMD.UnusedFormalParameter 2021-02-08 19:42:10 +03:00
Andrew Dolgov 403dca154c initial WIP for php8; bump php version requirement to 7.0 2021-02-05 23:41:32 +03:00
Andrew Dolgov a8302fb253 use X-Real-IP headers if possible while authenticating 2021-01-05 10:17:24 +03:00
Andrew Dolgov 667836ec7c SQL logger: log some parameters 2019-08-20 08:09:05 +03:00
Andrew Dolgov d36b64d8a7 event log: simplify styles, prevent horizontal scrolling
sql logger: clip context length to 8kb
2019-05-31 10:31:43 +03:00
Andrew Dolgov bf5dfc444e sql logger: ensure error string and context are valid UTF8 before trying to insert it 2019-05-01 08:38:52 +03:00
Andrew Dolgov 25671ad567 logger/sql: limit maximum context length on mysql because mysql 2019-02-24 07:26:14 +03:00
Andrew Dolgov bb84330234 Logger_SQL: use separate PDO connection 2018-09-10 21:49:31 +03:00
Andrew Dolgov 611aeb7197 add debug stdout logger 2018-08-15 15:08:31 +03:00
Andrew Dolgov c949a9282e OPML: use PDO; minor fixes 2017-12-02 01:08:30 +03:00
Andrew Dolgov 4102eb843f sql logger: pdo 2017-12-02 00:13:28 +03:00
Andrew Dolgov ea79a0e033 remove some redundant php closing tags 2017-04-26 20:24:18 +03:00
Andrew Dolgov 7b55001eee fix various issues reported by static analysis
update gitlab-ci config
2017-04-26 15:29:22 +03:00
Andrew Dolgov b8619f8db0 store formatted backtrace to sql log 2015-12-04 15:58:20 +03:00
Andrew Dolgov b367c951b9 make logging configurable; add logging to syslog 2013-04-19 09:45:43 +04:00
Andrew Dolgov 512b779391 do not try to log to sql on old schema version 2013-04-17 21:39:47 +04:00
Andrew Dolgov d9c85e0f11 classes: use OO DB interface 2013-04-17 20:12:14 +04:00
Andrew Dolgov a42c55f02b fix blank character after opening bracket in function calls 2013-04-17 18:34:18 +04:00
Andrew Dolgov 6322ac79a0 remove $link 2013-04-17 16:48:41 +04:00
Andrew Dolgov aca75cb5cb reinstate error handlers; better DB error reporting on failed queries 2013-04-17 16:05:54 +04:00
Andrew Dolgov 9594791782 experimental singleton-based Db connection 2013-04-17 13:08:36 +04:00
Andrew Dolgov 4e53956add implement error log viewer 2013-04-16 20:16:15 +04:00
Andrew Dolgov 889a5f9f19 experimental SQL-based error logger 2013-04-16 19:41:31 +04:00