Sam Rose
80008a0739
Reenable no-inner-declarations.
2024-03-19 11:29:19 +00:00
Sam Rose
e4b0330866
Simplify the typing of workerRequests.ts
2024-02-15 15:49:30 +00:00
Sam Rose
dde8f77877
Type workerRequests.ts
2024-02-15 14:48:47 +00:00
Sam Rose
642b75e0ae
Revert "Remove all custom tracing to see if it's the cause of the memory leak."
2024-01-02 11:36:32 +00:00
Sam Rose
3c0901f530
Remove all custom tracing to see if it's the cause of the memory leak.
2023-12-21 11:06:05 +00:00
Sam Rose
96f64b4344
Manually inject DataDog trace context to log messages.
2023-12-19 11:47:41 +00:00
Adria Navarro
db2c20e3ae
eslint import/newline-after-import
2023-11-20 21:52:29 +01:00
Adria Navarro
d168a0b902
Honor level on logging
2023-07-21 17:52:54 +02:00
Adria Navarro
0ac639fe7a
Add default process.stdout if no dev
2023-07-21 14:26:57 +02:00
Adria Navarro
2dcb1a67a1
Add service name to the logs only on self-host
2023-07-21 14:16:43 +02:00
Rory Powell
6631c2644d
Fixing merge issue
2023-07-19 17:18:37 +01:00
Mitch-Budibase
7eb65ed347
Merge branch 'develop' into account-api-tests
2023-07-19 15:21:50 +01:00
Rory Powell
c5337c652a
Remove no longer needed `LOG_CONTEXT` setting on logger module, update qa-core to disable pino logger via env var, add configurable jest timeout via env var
2023-07-18 21:13:17 +01:00
Adria Navarro
2d27587d0c
Support even values
2023-07-11 14:01:42 +02:00
Adria Navarro
dc73e57ba8
Respect max values
2023-07-11 13:48:52 +02:00
Adria Navarro
6e2a8e0ab9
Rename .log extensions
2023-07-11 13:09:51 +02:00
Adria Navarro
e0c0e9bd65
Clean
2023-07-11 10:44:10 +02:00
Adria Navarro
2585b73723
Use native history
2023-07-11 10:44:10 +02:00
Adria Navarro
8375ea4c5a
Fix order
2023-07-11 10:44:10 +02:00
Adria Navarro
bb28d09eab
Add logs endpoint
2023-07-11 10:44:09 +02:00
Adria Navarro
61abb7541a
Fix imports
2023-07-11 10:44:09 +02:00
Adria Navarro
580985c7be
Extract code
2023-07-11 10:44:09 +02:00
Adria Navarro
e351a77f75
Decorate service
2023-07-11 10:44:09 +02:00
Adria Navarro
2411b59709
Unify logs
2023-07-11 10:44:09 +02:00
Adria Navarro
a50834127a
Use destinations instead of transports
2023-07-11 10:44:09 +02:00
Adria Navarro
ff67df8e79
Rotate logs
2023-07-11 10:44:09 +02:00
Adria Navarro
d33663f5ac
Store logs to file
2023-07-11 10:44:09 +02:00
mike12345567
deca999183
Allowing logWarn to take an object for warning.
2023-07-03 16:01:54 +01:00
Rory Powell
6230e62b9b
Automation investigation logging + max doc size fix for automation log
2023-05-30 16:37:39 +01:00
Rory Powell
55ee94892a
Support setting object name for logged json objects
2023-05-17 22:18:50 +01:00
Rory Powell
ad37186665
Logging updates for automations
2023-05-17 13:54:20 +01:00
mike12345567
f61f9eba68
Linting.
2023-05-02 16:28:56 +01:00
mike12345567
552499b781
Re-writing the disabling of pino/logging - it seems that the pino logger is causing a variety of issues in the built CLI version - easier to offer an environment variable for backend-core which completely removes the logger.
2023-05-02 16:22:43 +01:00
Michael Drury
1c7c06e983
Bulk of the automation plugin system, supporting custom plugins.
2023-04-10 23:48:54 +01:00
Michael Drury
4badd04e33
Some automation fixes and adding option to disable logging for CLI.
2023-04-10 22:33:53 +01:00
Rory Powell
77ffb8d86d
Run integration suite in CI again / auto detect tenancy / refactors ( #10209 )
...
* qa-core-ci-fixes
* global setup and teardown wip
* Updates to logs and setup
* Remove date and console mocking
* Update CI to spin up minimal dev env
* Update readme
* Fix scopeBackend.sh
* Ensure docker services are initialised before starting worker
* Lint
* Fix admin user being created on startup (#10219 )
* use regular bootstrap and build
* Lint
* Temp: re-use global setup to get around app limit in QA
2023-04-05 15:33:56 +01:00
Rory Powell
976b3a55ca
Update logging to support dd trace attributes ( #10086 )
...
* Update logging middleware to integrate with pino for console logging
* Remove elastic apm references, use updated core middlewares
* Remove redundant LOG_LEVEL definitions
* Remove no longer needed jest logging overrides
* lint
* Backwards compat between console log helpers and pino
* Configurable DISABLE_HTTP_LOGGING
* Don't log 4xx as errors
* Remove redundant ENABLE_4XX_HTTP_LOGGING
* Cleanup migrations and event logging
* Improve bb-alert logging
* Add DISABLE_HTTP_LOGGING to helm chart
* Add ops endpoints for testing
* Disable http logging in dev
* Backwards compatible tracing implementation
* Naming update on http logging env var
* lint
* Update packages/backend-core/src/environment.ts
Co-authored-by: Adria Navarro <adria@revityapp.com>
* Merge
* Lint
* Fix console.warn failing mock by replacing with alerts mock instead
* Lint
---------
Co-authored-by: Adria Navarro <adria@revityapp.com>
2023-04-04 15:08:46 +01:00