[core] ignore all files requests in http access logs
This commit is contained in:
1 parent
b6b571e84b
commit
899139dda1
1 file changed
+5
-1
@@ -50,7 +50,11 @@ export const IMPORTS = [
|
||||
transport: getPinoTransport(),
|
||||
autoLogging: {
|
||||
ignore: (req) => {
|
||||
return req.url.startsWith('/dashboard/');
|
||||
return (
|
||||
req.url.startsWith('/dashboard/') ||
|
||||
req.url.startsWith('/api/files/') ||
|
||||
req.url.startsWith('/api/s3/')
|
||||
);
|
||||
},
|
||||
},
|
||||
serializers: {
|
||||
|
||||
Reference in new issue
Block a user