Skip to content

Commit

Permalink
Revert "debug windows error"
Browse files Browse the repository at this point in the history
This reverts commit e63cc0d.
  • Loading branch information
sfc-gh-knozderko committed Oct 5, 2023
1 parent e63cc0d commit bc0de20
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions lib/configuration/client_configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
const os = require('os');
const path = require('path');
const fs = require('fs');
const Logger = require('../logger');
const clientConfigFileName = 'sf_client_config.json';

const Levels = Object.freeze({
Expand Down Expand Up @@ -77,7 +76,6 @@ function ConfigurationUtil(fsPromisesModule, processModule) {
return null;
}
const configFileContents = await readFileConfig(path);
Logger.getInstance().debug('Config file content is->' + configFileContents + '<-end of content');
return configFileContents == null ? null : parseConfigFile(configFileContents);
};

Expand Down
5 changes: 1 addition & 4 deletions test/integration/testEasyLoggingOnConnecting.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const assert = require('assert');
const logLevelBefore = Logger.getInstance().getLevel();
const {codes} = require('./../../lib/errors');
const errorMessages = require('./../../lib/constants/error_messages');
const { configureLogger } = require('../configureLogger');
let tempDir = null;

describe('Easy logging tests', function () {
Expand All @@ -33,9 +32,7 @@ describe('Easy logging tests', function () {
resetEasyLoggingModule();
});

it.only('Should apply easy logging config when connection is being opened with callback', function (done) {
// Logger.getInstance().configure({level: 'TRACE'});
configureLogger('TRACE');
it('Should apply easy logging config when connection is being opened with callback', function (done) {
const logLevel = 'ERROR';
createConfigFile(logLevel).then((configFilePath) => {
const configParameters = createConfigParameters(configFilePath);
Expand Down

0 comments on commit bc0de20

Please sign in to comment.