logging standards in CloudStack #8746
Replies: 2 comments 5 replies
-
Here are some guidelines I think would be a good start (adapted from @DaanHoogland 's post on the mailing list) Fatal:
Error:
Warn:
Info:
Debug:
Trace:
|
Beta Was this translation helpful? Give feedback.
-
@lucas-a-martins and me had some discussion on #8603 I think it is better to raise the discussion here. Basically the question is, when an error happens, what error message should be displayed to the root admin and regular users or domain admin ?
Currently most error messages are for root admin, but some of them confuse regular users. Sometimes it is hard to find an error message which is good for both root admin and regular users. Back to #8603 , the current error message "Global setting endpoint.url has to be set to the Management Server's API end point" is not good for regular users, but the new error message "Unable to complete this operation. Contact your cloud admin." does not give any information to root admin which is also not good I think. sorry @lucas-a-martins Do we need a logging mechanism to display different error messages to root admin and regular users ? for example
|
Beta Was this translation helpful? Give feedback.
-
@JoaoJandre , maybe we can set some standards here ;)
re: #8728 (comment)
as a first set:
one functional requirement that I have is: As an non-developping operator I want stacktraces to be turned of by default.
Beta Was this translation helpful? Give feedback.
All reactions