Skip to content

Commit

Permalink
Merge branch 'main' into update_license
Browse files Browse the repository at this point in the history
  • Loading branch information
sumitsuthar committed Jan 30, 2024
2 parents 6c0b7a0 + 4baacb0 commit 64a3071
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ let logger = logs.getLogger();
const initLogger = logs.getInitLogger();
const LOG_MESSAGES = require('../../../sec-agent-constants').LOG_MESSAGES;
const applicationInfoModule = require('../../../applicationinfo');
const LogMessage = require('../../../LogMessage');

module.exports.handler = function handler(json) {
try {
Expand All @@ -17,6 +18,8 @@ module.exports.handler = function handler(json) {

initLogger.info(LOG_MESSAGES.AGENT_INIT_WITH_PROP, JSON.stringify(startupConfig.config));
initLogger.info('Security Agent is now ACTIVE for', applicationInfoModule.getInstance().applicationUUID);
const logMessage = new LogMessage.logMessage("SEVERE", `Security Agent is ACTIVE for ${ applicationInfoModule.getInstance().applicationUUID}`, __filename, null);
require('../../../commonUtils').addLogEventtoBuffer(logMessage);

} catch (error) {
logger.error(LOG_MESSAGES.PARSING_EXP_WELCOME_MSG, error);
Expand Down

0 comments on commit 64a3071

Please sign in to comment.