12 Commits

Author SHA1 Message Date
b75115515e Files list should be logged as string 2023-08-25 19:49:24 +02:00
ed2a1d9a53 Make elastic logging optional with config flag 2023-08-25 19:30:50 +02:00
8af5301d34 More metadata logged to es, also es apikey setting 2022-11-28 00:44:30 +01:00
02f4b1b371 Posts to unique index every day with suffix of todays date 2019-05-01 21:15:25 +02:00
0816b77352 Fixed issue where not supplying es argument to logger threw an error. 2019-05-01 12:30:01 +02:00
829a60f570 Created a middleware for our logger that can receive a es parameter. If supplied the parameter values is stripped from log string and its key and value are added to the document sent to elastic. This way filenames and lists can get their own field mapping and more easily searchable. 2019-05-01 12:12:28 +02:00
ce2a319447 Conver session id to string when attaching to json object. 2019-05-01 00:30:25 +02:00
5559030199 Create a session id each time ES handler is initialized 2019-05-01 00:26:31 +02:00
506a029a88 Config gets a new elastic field for logging to dynamic elastic host. 2019-04-30 19:24:36 +02:00
df5246b304 Elastic logging handler now dependency free (urllib in favor of requests) 2019-04-30 00:28:43 +02:00
eefe4f7aa0 Created a custom elastic logging handler. 2019-04-30 00:23:30 +02:00
40846e490f Logger now also creates log file if it does not exist yet 2019-04-29 21:52:07 +02:00