Commit 8a60bd5f authored by 智勇's avatar 智勇

delete_namespace add log

parent 332f75c4
......@@ -558,9 +558,13 @@ exports.delete_namespace = async function () {
}
try {
this.logger.info(
"namespace:", this.request.body,
" active:", "delete_namespace",
" user:", this.user);
{
namespace: this.request.body,
active: "delete_namespace",
user: `${this.user.name}`,
user_mail: `${this.user.mail}`,
}
);
} catch (error) {
}
......@@ -653,10 +657,15 @@ exports.create_custom_namespace = async function () {
}
try {
this.logger.info(
"namespace:", _self.request.body.namespace,
" microservices:", microservices,
" active:", "init_env",
" user:", this.user);
{
namespace: _self.request.body.namespace,
active: "init_env",
user: `${this.user.name}`,
user_mail: `${this.user.mail}`,
detail: {
" microservices:": microservices
}
});
} catch (error) {
}
......@@ -785,8 +794,8 @@ exports.create_system = async function () {
namespace: this.request.body.namespace,
active: "create_microservice",
microservice_name: this.request.body.name,
// user: `${this.user.name}`,
// user_mail: `${this.user.mail}`,
user: `${this.user.name}`,
user_mail: `${this.user.mail}`,
}
// "namespace:", temp,
// " active:", "create_microservice",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment