Patryk Osmaczko
e5e053bd8e
chore(logging)_: add benchmark for custom zap core
2024-11-21 18:14:29 +01:00
Patryk Osmaczko
f596a4dabf
feat(logging)_: introduce custom zap.Core enabling runtime changes
...
Geth logger allows overriding the log level, format and writer at
runtime. To make it interchangeable with zap.Logger, a custom zap.Core
has been introduced to enable these features as well.
closes : #6023
2024-11-21 13:48:42 +01:00
Patryk Osmaczko
9240222fbe
fix_: create request logger ad-hoc in tests
...
Fixes `TestCall` failing when run concurrently.
2024-10-29 18:50:11 +01:00
Patryk Osmaczko
2c1b321e58
chore_: use zap logger as request logger
...
iterates: status-im/status-desktop#16536
2024-10-29 07:36:29 +01:00
osmaczko
2ced83abb7
chore_: replace geth logger with zap logger ( #5962 )
...
closes : #6002
2024-10-28 20:54:17 +00:00
frank
51c1193ed2
feat_: Implement request logging functionality ( #5812 )
...
* feat_: Implement request logging functionality
* chore_: lint fix
* chore_: address review feedback
* test_: check panic recovery panic
* chore_: add json tags
2024-09-13 16:08:20 +01:00
Igor Sirotin
e0eb737c51
fix_: enable tests to run with `-count` more than 1 ( #5757 )
...
* fix(TestProfilingCPU)_: enable run with -count=2
* fix(TestProfilingMem)_: enable run with -count=2
* fix(zaputil)_: register encoder only once
* fix(timesource)_: global variables override in tests
* fix(TestClosingsqlDB)_: delete database from cache
* fix(postgres/helpers)_: drop connections before dropping database
* fix_: linter
* chore_: remove redundant condition
2024-08-23 19:30:58 +00:00
richΛrd
0937850268
chore: use custom logger for message timestamps and log query duration ( #5199 )
...
* chore_: use custom logger for message timestamps
* chore_: log store query duration
2024-05-21 13:29:29 -04:00
frank
51a1a9940f
print origins for log ( #4277 )
2023-11-09 14:35:59 +08:00
Anton Iakimov
3a41a2550a
ci: generate junit reports for unit tests
2023-08-17 15:29:18 +02:00
Jonathan Rainville
bba7135fb7
fix(logrotation): fix issue where all logs are kept in archive ( #3465 )
2023-05-11 14:36:01 -04:00
Richard Ramos
03c61e8847
chore: bump go-waku to also log output from go-libp2p into geth.log
2023-02-02 16:26:25 -04:00
Samuel Hawksby-Robinson
78892847ee
Removed unnecessary dependency from logutil package
...
util packages should have a few dependencies as possible, particularly from within the same repo, to prevent the application from creating import loops
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-19 11:35:40 +02:00
Adam Babik
76b5dc29dc
Integrate Whisper-Waku bridge in status-go ( #1854 )
2020-02-18 12:21:01 +01:00
Adam Babik
8b61d92d58
Remove protocol and eth-node submodules ( #1835 )
2020-02-10 12:22:37 +01:00
Pedro Pombeiro
c8a911ebd1
Use goimports instead of gofmt
2020-01-06 10:17:23 +01:00
Pedro Pombeiro
ed5a5c154d
Move to monorepo structure ( #1684 )
...
Move to a monorepo structure with submodules
- Rename status-protocol-go to status-go/protocol
2019-11-21 17:19:22 +01:00
Andrea Maria Piana
a3a413b5d9
Add SaveChat, Chats, DeleteChat, SaveConctat & Contacts endpoint
2019-08-05 16:03:18 +02:00
Adam Babik
e93d994460
integrate status-protocol-go
2019-07-24 18:46:43 +02:00
Adam Babik
664488faf9
add an adapter for zap and geth loggers ( #1534 )
2019-07-24 09:58:01 +02:00
Dmitry
5bce7e793f
Redirect log output to mobile system loggers
2019-03-07 17:07:12 +02:00
Dmitry Shulyak
cf8f20b23c
Use lumberjack library to rotate logs and add config that enables it ( #1399 )
2019-03-01 14:37:13 +01:00
Andrea Franz
5f45f6498d
Add LogEnabled attribute to NodeConfig to, used in the call from status-react ( #866 )
...
* add LogEnabled attribute to NodeConfig, used in the call from status-react
* fix use of OverrideRootLogin in tests
* enable logger in tests based on LogLevel
* move LogEnabled before LogFile
2018-04-26 18:28:42 +02:00
Adam Babik
5f075eeaba
Enable logs in tests ( #852 )
...
Pass `-log` option to `go test` in order to change the log level. By default, it's `INFO`.
2018-04-22 18:50:34 +02:00