Comments (4)
@guymguym @romayalon all the log messages are duplicated in both /logs/message and /logs/noobaa.log file. debug_module.log_internal()
method writing logs to console using stderr
or console
after passing it to syslog. And these console logs are collected by imjournal
and added to /logs/message
log file. its fine for local testing but RPM its not that needed.
One solution would be set a config property to control these logs writing to the console. Logs will print added to console if its enabled, Something like this.
this._log_console_silent = config.LOG_CONSOLE_SILENT; <---- It was always true before.
from noobaa-core.
@naveenpaul1 I thought about adding a config in which the user will specify the name of syslog service that it uses, can we maybe decide on this._log_console_silent based on the syslog service?
And reminding you about the NAPI prints as well :)
from noobaa-core.
Hey @naveenpaul1,
Any news on this one? :)
from noobaa-core.
@romayalon Regarding the syslog name might lead to some issues when the customer decide to use syslog that we haven't considered.
One suggestion I have is inside RPM value for config.LOG_CONSOLE_SILENT always should be true, and for other deployment false. WDYT?
And NAPI logs should not come under different issues.
from noobaa-core.
Related Issues (20)
- NSFS: For clients like s3A, iceberg.. seeing 0 response in listing of a bucket with 5.15.3 HOT 7
- NSFS | NC | Improve Input Validations of Config
- NC | Unit tests suggestions and refactoring
- NC | Support multiple RPM versions on a single cluster (different nodes)
- NSFS on syscall error should log the operation info and not just the error code (even if debug level is low) HOT 3
- CI | Actions updates
- After account update with new access keys, old access keys are valid for next 5min ~ HOT 9
- account update with --user is throwing schema validation failure HOT 3
- Encrytion enablement with CCR is not working as expected HOT 13
- CI | Ceph Tests Update - Failing Tests
- Account update with account name is not updating bucket_name.json file automatically HOT 16
- Account delete is not allowing when master keys gets updated/changed HOT 1
- Account status with show_secrets is not working when master_keys gets updated/changed HOT 1
- Enhance logrotate function to support syslog-ng if it used HOT 1
- NC | Make list accounts and update account tolerant to missing master key
- Encryption: Avoid frequent calls to CCR to get master key. HOT 6
- Noobaa command to list bucket/account giving trimmed output in pipe HOT 23
- noobaa-cli account update is allowing to update the Accesskey alone, however secret key should be updated along with access key HOT 1
- Account creation process is chopping 2 chars from the account name if the account name contains $ char in it HOT 1
- Support Noobaa rpm build for ppc for staging branches
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from noobaa-core.