62 Commits

Author SHA1 Message Date
elweyn
87055e732c Define klicktipp logger. 2022-08-04 11:47:10 +02:00
Moriz Wahl
175bc514be feat: Do not log IntrospectionQuery from Query Browser 2022-07-15 13:36:31 +02:00
Moriz Wahl
22be58f782 fix: .env log level for apollo and backend category 2022-06-02 14:23:57 +02:00
Moriz Wahl
28d876e71c log errors as error 2022-05-30 07:51:13 +02:00
Moriz Wahl
8853e0d5f9 remove user context from apollo logger 2022-05-19 20:33:07 +02:00
Moriz Wahl
dd4c8ec5b4 refactor: Use Logger Categories 2022-05-19 17:08:27 +02:00
Moriz Wahl
5cac5d9cfb loggers are created only once, unify logger for unit tests 2022-05-16 16:02:12 +02:00
Moriz Wahl
cb012882b1 rename logger to apollo 2022-05-10 19:32:48 +02:00
Moriz Wahl
6ce850dc1e read log level from config to override default 2022-05-10 19:31:45 +02:00
Moriz Wahl
700f8ada07 allow test environment to be loaded with mocked logger 2022-05-10 16:51:37 +02:00
Moriz Wahl
80b7305860 Silence logger for unit tests in user resolver. Make tests available for logger in user resolver 2022-05-10 16:33:40 +02:00
Claus-Peter Hübner
1be08cc7e1 additional logs 2022-05-06 03:08:28 +02:00
Claus-Peter Hübner
64167692e8 lint files with changed eof config 2022-05-05 16:20:42 +02:00
Claus-Peter Hübner
4afffea797 additional logg-statements 2022-05-05 01:01:06 +02:00
Moriz Wahl
befa965a44 configure logger only once. Log Context User ID if present on response 2022-05-04 13:58:45 +02:00
Claus-Peter Hübner
0449dc59e8 try to log UserResolver, is not working, no output 2022-05-04 02:23:33 +02:00
Moriz Wahl
e1985aca71 output a bit prettier 2022-05-03 11:00:53 +02:00
Moriz Wahl
b10f9245b6 linting 2022-05-03 10:41:04 +02:00
Moriz Wahl
a921625f4a Merge branch 'improve-apollo-logging' of github.com:gradido/gradido into improve-apollo-logging 2022-05-03 10:37:02 +02:00
Moriz Wahl
114177b0d8 further tests 2022-05-03 10:13:51 +02:00
Claus-Peter Hübner
5824657d75 test loggers 2022-04-30 00:26:56 +02:00
Claus-Peter Hübner
ff35897e01 log4j in createServer and configuration file 2022-04-30 00:24:05 +02:00
Moriz Wahl
58fb934a28 use log4js 2022-04-29 13:39:39 +02:00
Moriz Wahl
78ff58f9b6 use winston as logger, start creating own apollo logger 2022-04-29 11:50:39 +02:00
Moriz Wahl
f752d8d045 type ExpressContext 2022-04-11 17:25:59 +02:00
Moriz Wahl
71d1701102 undo apollo log plugin hack 2022-04-11 16:31:21 +02:00
Moriz Wahl
00bba07b11 define hack to pass already queried data to balance resolver 2022-04-11 16:22:09 +02:00
Moriz Wahl
6cc8410720 helper function to get user from context 2022-04-11 16:15:57 +02:00
Moriz Wahl
e183a9bde0 remove unused modules 2022-04-11 15:53:00 +02:00
Moriz Wahl
7ec35bbfb2 define context interface 2022-04-11 15:50:02 +02:00
5fe1e05ca4
use tsconfig-paths package to resolve paths
link build and src paths for the external database package
2022-03-18 01:35:01 +01:00
Moriz Wahl
7e4c3ec3ce more resolved paths 2022-03-07 21:56:03 +01:00
Moriz Wahl
631346b63c remove deleted entities 2022-02-16 13:19:27 +01:00
Moriz Wahl
a201cad0db use lodash clonedeep to copy objects 2022-02-14 12:57:24 +01:00
760b7e2d01
renamed data2 to dataCopy 2022-02-14 10:24:06 +01:00
820cdfb16f
do not log password and token to the console 2022-02-14 09:51:06 +01:00
5bc23a4857
remove typeorm from backend project and reference the one installed in database. This way the default connection of the enteties can be used - this was not possible before since the connection waa created in the backend typeorm, but the entities are defined in the database installation.
We now remove the typeorm from backend and rely solely on the database typeorm. We now can use both activeRecord and dataMapper pattern.
2022-02-01 04:14:54 +01:00
2fc4c9c341
cleanup index - check db version externally
define required db version in cofig as constant
some type updates
2022-02-01 02:51:43 +01:00
f3078b3cbd
use url encode bodyparser 2022-01-27 21:29:18 +01:00
9f72ea23bc
update required db version 2022-01-25 00:49:54 +01:00
8b3f6ea339
disable introspection when GRAPHIQL is disabled 2022-01-16 11:05:40 +01:00
da63312f65
some basic apollo logging 2022-01-16 10:42:46 +01:00
2efdb41232
disable debugging logs 2022-01-12 21:21:27 +01:00
4a175f0ef8
removed github webhook, its now external 2022-01-12 21:21:27 +01:00
41ee819aba
remove trailing slash again, log when eopage hook was recieved 2022-01-12 21:21:25 +01:00
9cbd9139df
ad trailing slash for elopage hook 2022-01-12 21:21:25 +01:00
e378136106
correct config value for GITHUB_WEBHOOK, log every request for debugging purposes 2022-01-12 21:21:25 +01:00
1e39f5049b
first implementation of github webhook 2022-01-12 21:21:25 +01:00
aea773167b
fixed elopage webhook 2022-01-12 21:21:22 +01:00
f4c26151a7
fix bodyparser json deprecated - using express instead 2022-01-12 21:21:22 +01:00