Commit a12e3c71 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor change to logging.

parent b04b0b73
......@@ -191,7 +191,8 @@ if (!defined($this_user) || !$this_user->IsAdmin()) {
# Email record.
if (! $debug) {
AuditStart(0, undef, LIBAUDIT_LOGTBLOGS()|LIBAUDIT_LOGONLY());
my $opts = LIBAUDIT_LOGTBLOGS()|LIBAUDIT_LOGONLY();
AuditStart(0, undef, $opts);
#
# Once we determine the project, we can add the appropriate log CC
#
......@@ -578,6 +579,10 @@ elsif (!$localuser) {
#
if (!$debug) {
AddAuditInfo("cc", $project->LogsEmailAddress());
if ($MAINSITE && $project->isEmulab()) {
# Mostly people use the Cloudlab UI.
AddAuditInfo("cc", "cloudlab-logs\@cloudlab.us");
}
}
# There will be "internal" keys cause we pass the flag asking for them.
......
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