Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

Commit

Permalink
Fix: Dont override the 'platform' field if set by the user. Still def…
Browse files Browse the repository at this point in the history
…ault to 'site' for backwards compat.
  • Loading branch information
datacarl committed Jul 8, 2015
1 parent 8892ba7 commit 06150a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ logger = function(options) {
// Use environment name from options or default to NODE_ENV.
baseParams.environment = baseParams.environment || process.env.NODE_ENV;

baseParams.platform = 'site';
baseParams.platform = baseParams.platform || 'site';

loggers.push(Loggers.loggly(logglyClient, baseParams));
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package.describe({
name: 'lookback:logger',
summary: 'Logger for Meteor with Loggly integration',
git: 'https://github.com/lookback/meteor-logger',
version: '1.1.1'
version: '1.2.0'
});

Npm.depends({
Expand Down

0 comments on commit 06150a8

Please sign in to comment.