Created
October 6, 2014 21:03
-
-
Save marcellodesales/24f44d9937c856633dad to your computer and use it in GitHub Desktop.
Trying to publish a NodeJs module for Nexus 2.10.0 SNAPSHOT: Fails to publish
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 info it worked if it ends with ok | |
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'publish' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 verbose publish [ '.' ] | |
5 verbose cache add [ '.', null ] | |
6 verbose cache add name=undefined spec="." args=[".",null] | |
7 verbose parsed url { protocol: null, | |
7 verbose parsed url slashes: null, | |
7 verbose parsed url auth: null, | |
7 verbose parsed url host: null, | |
7 verbose parsed url port: null, | |
7 verbose parsed url hostname: null, | |
7 verbose parsed url hash: null, | |
7 verbose parsed url search: null, | |
7 verbose parsed url query: null, | |
7 verbose parsed url pathname: '.', | |
7 verbose parsed url path: '.', | |
7 verbose parsed url href: '.' } | |
8 silly lockFile 3a52ce78- . | |
9 verbose lock . /home/mdesales/.npm/3a52ce78-.lock | |
10 verbose tar pack [ '/home/mdesales/tmp/npm-40002-yS6_RYGB/1412628961990-0.5618234679568559/tmp.tgz', | |
10 verbose tar pack '.' ] | |
11 verbose tarball /home/mdesales/tmp/npm-40002-yS6_RYGB/1412628961990-0.5618234679568559/tmp.tgz | |
12 verbose folder . | |
13 silly lockFile 1f1177db-tar tar://. | |
14 verbose lock tar://. /home/mdesales/.npm/1f1177db-tar.lock | |
15 silly lockFile 1abb7404-61990-0-5618234679568559-tmp-tgz tar:///home/mdesales/tmp/npm-40002-yS6_RYGB/1412628961990-0.5618234679568559/tmp.tgz | |
16 verbose lock tar:///home/mdesales/tmp/npm-40002-yS6_RYGB/1412628961990-0.5618234679568559/tmp.tgz /home/mdesales/.npm/1abb7404-61990-0-5618234679568559-tmp-tgz.lock | |
17 silly lockFile 1f1177db-tar tar://. | |
18 silly lockFile 1f1177db-tar tar://. | |
19 silly lockFile 1abb7404-61990-0-5618234679568559-tmp-tgz tar:///home/mdesales/tmp/npm-40002-yS6_RYGB/1412628961990-0.5618234679568559/tmp.tgz | |
20 silly lockFile 1abb7404-61990-0-5618234679568559-tmp-tgz tar:///home/mdesales/tmp/npm-40002-yS6_RYGB/1412628961990-0.5618234679568559/tmp.tgz | |
21 verbose tar unpack /home/mdesales/tmp/npm-40002-yS6_RYGB/1412628961990-0.5618234679568559/tmp.tgz | |
22 silly lockFile a2a06a80-61990-0-5618234679568559-package tar:///home/mdesales/tmp/npm-40002-yS6_RYGB/1412628961990-0.5618234679568559/package | |
23 verbose lock tar:///home/mdesales/tmp/npm-40002-yS6_RYGB/1412628961990-0.5618234679568559/package /home/mdesales/.npm/a2a06a80-61990-0-5618234679568559-package.lock | |
24 silly lockFile 1abb7404-61990-0-5618234679568559-tmp-tgz tar:///home/mdesales/tmp/npm-40002-yS6_RYGB/1412628961990-0.5618234679568559/tmp.tgz | |
25 verbose lock tar:///home/mdesales/tmp/npm-40002-yS6_RYGB/1412628961990-0.5618234679568559/tmp.tgz /home/mdesales/.npm/1abb7404-61990-0-5618234679568559-tmp-tgz.lock | |
26 silly gunzTarPerm modes [ '755', '644' ] | |
27 silly gunzTarPerm extractEntry package.json | |
28 silly gunzTarPerm modified mode [ 'package.json', 436, 420 ] | |
29 silly gunzTarPerm extractEntry .npmignore | |
30 silly gunzTarPerm modified mode [ '.npmignore', 436, 420 ] | |
31 silly gunzTarPerm extractEntry README.md | |
32 silly gunzTarPerm modified mode [ 'README.md', 436, 420 ] | |
33 silly gunzTarPerm extractEntry Gulpfile.js | |
34 silly gunzTarPerm modified mode [ 'Gulpfile.js', 436, 420 ] | |
35 silly gunzTarPerm extractEntry conf/.jscsrc | |
36 silly gunzTarPerm modified mode [ 'conf/.jscsrc', 436, 420 ] | |
37 silly gunzTarPerm extractEntry conf/.jshintignore | |
38 silly gunzTarPerm modified mode [ 'conf/.jshintignore', 436, 420 ] | |
39 silly gunzTarPerm extractEntry conf/.jshintrc | |
40 silly gunzTarPerm modified mode [ 'conf/.jshintrc', 436, 420 ] | |
41 silly gunzTarPerm extractEntry src/app_settings.js | |
42 silly gunzTarPerm modified mode [ 'src/app_settings.js', 436, 420 ] | |
43 silly gunzTarPerm extractEntry src/bunyan_settings.js | |
44 silly gunzTarPerm modified mode [ 'src/bunyan_settings.js', 436, 420 ] | |
45 silly gunzTarPerm extractEntry src/default_settings.js | |
46 silly gunzTarPerm modified mode [ 'src/default_settings.js', 436, 420 ] | |
47 silly gunzTarPerm extractEntry src/logger.js | |
48 silly gunzTarPerm modified mode [ 'src/logger.js', 436, 420 ] | |
49 silly gunzTarPerm extractEntry test/consoleSettings.js | |
50 silly gunzTarPerm modified mode [ 'test/consoleSettings.js', 436, 420 ] | |
51 silly gunzTarPerm extractEntry test/logFileSettings.js | |
52 silly gunzTarPerm modified mode [ 'test/logFileSettings.js', 436, 420 ] | |
53 silly gunzTarPerm extractEntry test/logger.js | |
54 silly gunzTarPerm modified mode [ 'test/logger.js', 436, 420 ] | |
55 silly lockFile a2a06a80-61990-0-5618234679568559-package tar:///home/mdesales/tmp/npm-40002-yS6_RYGB/1412628961990-0.5618234679568559/package | |
56 silly lockFile a2a06a80-61990-0-5618234679568559-package tar:///home/mdesales/tmp/npm-40002-yS6_RYGB/1412628961990-0.5618234679568559/package | |
57 silly lockFile 1abb7404-61990-0-5618234679568559-tmp-tgz tar:///home/mdesales/tmp/npm-40002-yS6_RYGB/1412628961990-0.5618234679568559/tmp.tgz | |
58 silly lockFile 1abb7404-61990-0-5618234679568559-tmp-tgz tar:///home/mdesales/tmp/npm-40002-yS6_RYGB/1412628961990-0.5618234679568559/tmp.tgz | |
59 verbose tar pack [ '/home/mdesales/.npm/isp-logging/0.7.0/package.tgz', | |
59 verbose tar pack '/home/mdesales/tmp/npm-40002-yS6_RYGB/1412628961990-0.5618234679568559/package' ] | |
60 verbose tarball /home/mdesales/.npm/isp-logging/0.7.0/package.tgz | |
61 verbose folder /home/mdesales/tmp/npm-40002-yS6_RYGB/1412628961990-0.5618234679568559/package | |
62 silly lockFile a2a06a80-61990-0-5618234679568559-package tar:///home/mdesales/tmp/npm-40002-yS6_RYGB/1412628961990-0.5618234679568559/package | |
63 verbose lock tar:///home/mdesales/tmp/npm-40002-yS6_RYGB/1412628961990-0.5618234679568559/package /home/mdesales/.npm/a2a06a80-61990-0-5618234679568559-package.lock | |
64 silly lockFile 1c41325b-pm-isp-logging-0-7-0-package-tgz tar:///home/mdesales/.npm/isp-logging/0.7.0/package.tgz | |
65 verbose lock tar:///home/mdesales/.npm/isp-logging/0.7.0/package.tgz /home/mdesales/.npm/1c41325b-pm-isp-logging-0-7-0-package-tgz.lock | |
66 silly lockFile a2a06a80-61990-0-5618234679568559-package tar:///home/mdesales/tmp/npm-40002-yS6_RYGB/1412628961990-0.5618234679568559/package | |
67 silly lockFile a2a06a80-61990-0-5618234679568559-package tar:///home/mdesales/tmp/npm-40002-yS6_RYGB/1412628961990-0.5618234679568559/package | |
68 silly lockFile 1c41325b-pm-isp-logging-0-7-0-package-tgz tar:///home/mdesales/.npm/isp-logging/0.7.0/package.tgz | |
69 silly lockFile 1c41325b-pm-isp-logging-0-7-0-package-tgz tar:///home/mdesales/.npm/isp-logging/0.7.0/package.tgz | |
70 silly lockFile 36f51187-es-npm-isp-logging-0-7-0-package /home/mdesales/.npm/isp-logging/0.7.0/package | |
71 verbose lock /home/mdesales/.npm/isp-logging/0.7.0/package /home/mdesales/.npm/36f51187-es-npm-isp-logging-0-7-0-package.lock | |
72 silly lockFile 36f51187-es-npm-isp-logging-0-7-0-package /home/mdesales/.npm/isp-logging/0.7.0/package | |
73 silly lockFile 36f51187-es-npm-isp-logging-0-7-0-package /home/mdesales/.npm/isp-logging/0.7.0/package | |
74 verbose tar unpack /home/mdesales/.npm/isp-logging/0.7.0/package.tgz | |
75 silly lockFile 621aaf68-es-npm-isp-logging-0-7-0-package tar:///home/mdesales/.npm/isp-logging/0.7.0/package | |
76 verbose lock tar:///home/mdesales/.npm/isp-logging/0.7.0/package /home/mdesales/.npm/621aaf68-es-npm-isp-logging-0-7-0-package.lock | |
77 silly lockFile 1c41325b-pm-isp-logging-0-7-0-package-tgz tar:///home/mdesales/.npm/isp-logging/0.7.0/package.tgz | |
78 verbose lock tar:///home/mdesales/.npm/isp-logging/0.7.0/package.tgz /home/mdesales/.npm/1c41325b-pm-isp-logging-0-7-0-package-tgz.lock | |
79 silly gunzTarPerm modes [ '755', '644' ] | |
80 silly gunzTarPerm extractEntry package.json | |
81 silly gunzTarPerm extractEntry .npmignore | |
82 silly gunzTarPerm extractEntry README.md | |
83 silly gunzTarPerm extractEntry Gulpfile.js | |
84 silly gunzTarPerm extractEntry conf/.jscsrc | |
85 silly gunzTarPerm extractEntry conf/.jshintignore | |
86 silly gunzTarPerm extractEntry conf/.jshintrc | |
87 silly gunzTarPerm extractEntry src/app_settings.js | |
88 silly gunzTarPerm extractEntry src/bunyan_settings.js | |
89 silly gunzTarPerm extractEntry src/default_settings.js | |
90 silly gunzTarPerm extractEntry src/logger.js | |
91 silly gunzTarPerm extractEntry test/consoleSettings.js | |
92 silly gunzTarPerm extractEntry test/logFileSettings.js | |
93 silly gunzTarPerm extractEntry test/logger.js | |
94 silly lockFile 621aaf68-es-npm-isp-logging-0-7-0-package tar:///home/mdesales/.npm/isp-logging/0.7.0/package | |
95 silly lockFile 621aaf68-es-npm-isp-logging-0-7-0-package tar:///home/mdesales/.npm/isp-logging/0.7.0/package | |
96 silly lockFile 1c41325b-pm-isp-logging-0-7-0-package-tgz tar:///home/mdesales/.npm/isp-logging/0.7.0/package.tgz | |
97 silly lockFile 1c41325b-pm-isp-logging-0-7-0-package-tgz tar:///home/mdesales/.npm/isp-logging/0.7.0/package.tgz | |
98 verbose chmod /home/mdesales/.npm/isp-logging/0.7.0/package.tgz 644 | |
99 verbose chown /home/mdesales/.npm/isp-logging/0.7.0/package.tgz [ 1000, 1000 ] | |
100 silly lockFile 3a52ce78- . | |
101 silly lockFile 3a52ce78- . | |
102 silly publish { name: 'isp-logging', | |
102 silly publish version: '0.7.0', | |
102 silly publish description: 'The Intuit Services Platform logging libraries to be used by the Services in the Platform.', | |
102 silly publish main: 'src/logger.js', | |
102 silly publish scripts: { test: 'gulp' }, | |
102 silly publish dependencies: | |
102 silly publish { bunyan: '~0.22.1', | |
102 silly publish underscore: '^1.6.0', | |
102 silly publish path: '^0.4.9', | |
102 silly publish 'bunyan-format': '~0.1.1', | |
102 silly publish merge: '~1.1.3' }, | |
102 silly publish repository: | |
102 silly publish { type: 'git', | |
102 silly publish url: 'https://icode.intuit.com/scm/ispnjs/isp-logging.git' }, | |
102 silly publish keywords: [ 'logging', 'bunyan', 'logs' ], | |
102 silly publish author: { name: 'Marcello de Sales' }, | |
102 silly publish license: 'BSD-2-Clause', | |
102 silly publish devDependencies: | |
102 silly publish { gulp: '~3.8.8', | |
102 silly publish 'run-sequence': '~0.3.6', | |
102 silly publish 'gulp-jscs': '~1.1.2', | |
102 silly publish 'gulp-jshint': '~1.8.4', | |
102 silly publish 'jshint-stylish-ex': '~0.2.0', | |
102 silly publish 'gulp-jsdoc': '~0.1.4', | |
102 silly publish 'sinon-chai': '~2.5.0', | |
102 silly publish chai: '~1.9.1', | |
102 silly publish sinon: '~1.10.3', | |
102 silly publish mocha: '~1.21.4', | |
102 silly publish 'gulp-mocha': '~1.1.0', | |
102 silly publish 'gulp-rimraf': '~0.1.0', | |
102 silly publish 'gulp-istanbul': '~0.3.0', | |
102 silly publish 'mocha-jenkins-reporter': '0.1.2', | |
102 silly publish 'gulp-shell': '~0.2.9', | |
102 silly publish rimraf: '~2.2.8', | |
102 silly publish 'istanbul-cobertura-badger': '0.0.4' }, | |
102 silly publish publishConfig: { registry: 'http://localhost:8081/nexus/content/groups/npm-internal/' }, | |
102 silly publish readme: 'Intuit Service Platform - Node.js Logging\n=======\n\nThis node module is a private Intuit module used for Node.js applications deployed in the Node Platform. \nIt will collect logs in different streams such as the console and bunyan output without depending on external\napplication.\n\n[![Build Status](http://jenkins.npm.corp.intuit.net/job/Build-ISP-Logging/badge/icon)](http://jenkins.npm.corp.intuit.net/job/Build-ISP-Logging/)\n[![Build Status](http://jenkins.npm.corp.intuit.net/job/Build-ISP-Logging/ws/docs/tests/coverage.svg)](http://jenkins.npm.corp.intuit.net/job/Build-ISP-Logging/ws/docs/tests/index.html)\n![Built With](http://img.shields.io/badge/built_with-Gulp-yellow.svg)\nInstallation\n======\n\nIn order to use, just add the module to your application using the latest or specific versions.\n\n```\nnpm install git+https://icode.intuit.com/scm/ispnjs/isp-logging.git#1.0.0\n```\n\nOr \n\n```\n "dependencies": {\n ...\n "isp-logging": "git+https://icode.intuit.com/scm/ispnjs/isp-logging.git#1.0.0"\n ...\n }\n```\n\nIf 1.0.0 version is not available yet, the top version is loaded by NPM ⌈1.0.0⌉.\n\nFeatures\n======\n\nFeatures will depend on the environment where the app is running on.\n\n* Dev: NODE_ENV == undefined or NODE_ENV == "dev\\*";\n* Pre-prod | Prod: When NODE_ENV == "prod\\*" or any other environment.\n\nHere\'s the list of the basic features:\n\n* Pretty console logging: Pre-prod environments only (https://www.npmjs.org/package/bunyan-prettystream). (Only "DEV")\n* File Trace: Include the location of where the log method was called. (https://github.com/trentm/node-bunyan#src). (Only "DEV")\n* Logging to a deterministic log file under $APP_DIR/logs/node-app-$APP_NAME.log, with support to file rotation (https://github.com/trentm/node-bunyan#stream-type-rotating-file). \n * Logging will include `PORT` number to the file name in case `process.env.PORT` is defined or configured during bootstrap (see below).\n* Support to additional streams (Bunyuan streams) through configuration. (https://github.com/trentm/node-bunyan#streams). See additional streams at https://www.npmjs.org/search?q=bunyan%20stream\n* Support to additional serializers (Bunyan Serializers) through configuration. (https://github.com/trentm/node-bunyan#serializers).\n\nDevelopment\n====\n\nCURRENT BUILD STATUS: http://jenkins.npm.corp.intuit.net/job/Build-ISP-Logging/\n\nFeel free to submit any contribution, bug fix, new features, etc. Just Fork and submit a new Pull Request! Here are a list of development tools used:\n\n* Build Script: Gulp: https://jira.intuit.com/browse/ISP-226\n* Code Quality: JsHint + JsCs: https://jira.intuit.com/browse/ISP-227\n* Documentation: JsDoc + DocStrap templates: https://jira.intuit.com/browse/ISP-229\n* BDD Test Framework: Mocha, Chai, Sinon: https://jira.intuit.com/browse/ISP-230\n* Code Coverage: Istanbul: https://jira.intuit.com/browse/ISP-231\n* CI/CD: Jenkins: https://jira.intuit.com/browse/ISP-235\n- TODO: Add private NPM Repo: https://jira.intuit.com/browse/ISP-236\n\nUse\n=====\n\nYou can acquire an instance of the "default" component for your working source-code by executing the following. Say you have\nthe source-code called "service/zipcode_service.js", with the following.\n\n```\n logger = require(\'isp-logging\').getLogger();\n```\n\nIf you get the logger for a given component, it will output it properly. Consider these were defined on "restify_server.js".\n\n```\n logger = require(\'isp-logging\').getLogger("SERVER");\n logger.info("Environment set to " + process.env.NODE_ENV);\n```\n\nIf you want to add extra Bunyan streams, just pass the list as a parameter (since 1.2.0). For instance, adding the bunyan-loggly\nstream should be no difficult than the following:\n\n```\n var appStreams = [];\n\n var Bunyan2Loggly = require(\'bunyan-loggly\').Bunyan2Loggly;\n appStreams.push({\n level: "info",\n type: "raw",\n stream: new Bunyan2Loggly(Settings.logs.loggly.config)\n });\n\n var config = {\n streams: appStreams\n }\n\n // note that both component and streams are optional parameters\n var logger = ispLogging.getLogger(component, config);\n```\n\nSerializers can be configured as follows:\n\n```\nvar appSerializers = {\n user: function userSerializer(user) {\n return {\n id: user.id,\n usr: user.username,\n pwd: user.password\n };\n },\n tax: function taxSerializer(tax) {\n return {\n docId: tax.id,\n year: tax.taxYear\n }\n }\n};\n\n var settings = {\n serializers: appSerializers\n }\n // both are optional paratemers\n var logger = ispLogging.getLogger("MY-COMPONENT", settings);\n\n var userInfo = {\n username: "marcello",\n password: "passmarcello",\n id: "230943SDSDOK"\n };\n\n var taxInfo = {\n id: "tax-2014-1339394-33993",\n taxYear: "2014"\n };\n\n logger.info({user: userInfo, tax: taxInfo}, "Here we are");\n\n```\n\n\nThe logs produced for the examples above will be in the following way:\n\n\n\n* Request/Response Console\n\n```\n$ node app\n[2014-08-22T22:32:39.814Z] INFO: discovery/SERVER/28174 on ubuntu (/home/mdesales/dev/icode/platform-node-server/restify_server.js:52): Starting HTTP server Discovery running on port 8080 Restify Server\n[2014-08-22T22:32:45.518Z] INFO: discovery/MIDDLEWARE/28174 on ubuntu (/home/mdesales/dev/icode/platform-node-server/middleware/request_logger.js:21 in res.end): POST /benefits/TX/search 200 1488ms (responseTime=1488, contentLength=0, req.remoteAddress=127.0.0.1, req.remotePort=54853)\n POST /benefits/TX/search HTTP/1.1\n host: localhost:8080\n connection: keep-alive\n content-length: 53\n cache-control: no-cache\n origin: chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm\n user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36\n tid: odoi23io2i3dsoisoifeoio2i3o23dsoid\n content-type: application/x-www-form-urlencoded\n accept: */*\n accept-encoding: gzip,deflate,sdch\n accept-language: en-US,en;q=0.8,pt;q=0.6\n --\n HTTP/1.1 200 OK\n Cache-Control: no-cache, no-store\n Pragma: no-cache\n Expires: 0\n Content-Type: application/json\n Vary: Accept-Encoding\n Content-Encoding: gzip\n Access-Control-Allow-Origin: chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm\n Access-Control-Expose-Headers: api-version, content-length, content-md5, content-type, date, request-id, response-time\n Access-Control-Allow-Headers: Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, Api-Version, Response-Time\n Access-Control-Allow-Methods: POST\n Connection: Keep-Alive\n Content-MD5: y5kl09WJ98q+NFfmdH2qSg==\n Date: Fri, 22 Aug 2014 22:32:45 GMT\n Server: Discovery\n Request-Id: 3bfcc5a0-2a4c-11e4-acf2-f31f7f7a922c\n Response-Time: 1490\n Transfer-Encoding: chunked\n\n```\n\n* Request/Response on File\n\nThe location will be under APP/logs/node-app-APP_NAME.log\n\nHere, the package.json has the application name set to "Discovery", so it will output the lower-case value of it.\nThe name of the file where the logger was issued will be printed as well.\n\n```\n{"name":"discovery","hostname":"ubuntu","pid":42397,"component":"SERVER","level":30,"msg":"Starting HTTP server Discovery running on port 8080 Restify Server","time":"2014-08-25T16:32:57.915Z","src":{"file":"/home/mdesales/dev/icode/platform-node-server/restify_server.js","line":52},"v":0}\n{"name":"discovery","hostname":"ubuntu","pid":42397,"component":"MIDDLEWARE","level":30,"res":{"statusCode":200,"header":"HTTP/1.1 200 OK\\r\\nCache-Control: no-cache, no-store\\r\\nPragma: no-cache\\r\\nExpires: 0\\r\\nContent-Type: application/json\\r\\nVary: Accept-Encoding\\r\\nContent-Encoding: gzip\\r\\nAccess-Control-Allow-Origin: chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm\\r\\nAccess-Control-Expose-Headers: api-version, content-length, content-md5, content-type, date, request-id, response-time\\r\\nAccess-Control-Allow-Headers: Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, Api-Version, Response-Time\\r\\nAccess-Control-Allow-Methods: POST\\r\\nConnection: Keep-Alive\\r\\nContent-MD5: y5kl09WJ98q+NFfmdH2qSg==\\r\\nDate: Mon, 25 Aug 2014 16:33:02 GMT\\r\\nServer: Discovery\\r\\nRequest-Id: 7a56c460-2c75-11e4-8497-3b16d16ad26e\\r\\nResponse-Time: 1708\\r\\nTransfer-Encoding: chunked\\r\\n\\r\\n"},"req":{"method":"POST","url":"/benefits/TX/search","headers":{"host":"localhost:8080","connection":"keep-alive","content-length":"53","cache-control":"no-cache","origin":"chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36","tid":"odoi23io2i3dsoisoifeoio2i3o23dsoid","content-type":"application/x-www-form-urlencoded","accept":"*/*","accept-encoding":"gzip,deflate,sdch","accept-language":"en-US,en;q=0.8,pt;q=0.6"},"remoteAddress":"127.0.0.1","remotePort":56502},"responseTime":1712,"contentLength":0,"msg":"POST /benefits/TX/search 200 1712ms ","time":"2014-08-25T16:33:02.046Z","src":{"file":"/home/mdesales/dev/icode/platform-node-server/middleware/request_logger.js","line":21,"func":"res.end"},"v":0}\n```\n\n* Serializers output - Console\n\n```\n$ node app\n[2014-08-27T15:05:15.866Z] INFO: discovery/SERVER/61381 on ubuntu (/home/mdesales/dev/icode/platform-node-server/restify_server.js:67): Here we are\n user: {\n "id": "230943SDSDOK",\n "usr": "marcello",\n "pwd": "passmarcello"\n }\n --\n tax: {\n "docId": "tax-2014-1339394-33993",\n "year": "2014"\n }\n\n```\n\n* Serializers output - File\n\n```\n{"name":"discovery","hostname":"ubuntu","pid":61381,"component":"SERVER","level":30,\n "user":{"id":"230943SDSDOK","usr":"marcello","pwd":"passmarcello"},\n "tax":{"docId":"tax-2014-1339394-33993","year":"2014"},\n"msg":"Here we are","time":"2014-08-27T15:05:15.866Z","src":{"file":"/home/mdesales/dev/icode/platform-node-server/restify_server.js","line":67},"v":0}\n```\n\n* Port number in the filename: Environment Variable\n\nIf the settings include the appPort parameter or the NODE_ENV is used, the log file created for the instance will include\nthe PORT number. That way, in multi-instance production environments rotation may work as expected.\n\n```\n$ PORT=3030 node app\n\n$ ls -la logs/\n-rw-rw-r-- 1 mdesales mdesales 990 Sep 4 13:53 node-app-discovery-3030.log\n```\n\n* Port number in the filename: Bootstrap override\n\nEither parameter can be verified by your application (if Settings.server.port does not already use process.env.PORT).\n\n```\n var settings = {\n appPort: process.env.PORT || Settings.server.port,\n }\n // both are optional paratemers\n var logger = ispLogging.getLogger(\'logger\', settings);\n```\n\nHistory\n====\n\nRun the following Git Command to obtain the full list of tags with highlights for the changes list.\n\n```\n $ git log --no-walk --tags --pretty="%h %d %s" --decorate=full | sed -e \'s,tag: refs/tags/,,\'\n```\n\nIt will generate an output just like below:\n\n```\n3713f3f (1.0.0, tag: refs/tags/0.6.0, refs/remotes/origin/master, refs/heads/master) SP-144/ISP-177: Updating the package.json with 0.6.0 version and the README.md.\n00a3762 (0.5.0) ISP-144/ISP-205: Update logger to save files with optional port number if defined/passed: Version 0.5.0\nd8db998 (0.4.2) ISP-141/ISP-184/ISP-187: Fixing the bug when loading the app with Gulp and Grunt for 0.4.2\n3652484 (0.4.1) ISP-141/ISP-184: Missing the package.json and README.md updates with the 0.4.1 version\nc55eee7 (0.4.0) ISP-141/ISP-184/ISP-187: Updating the README.md file with the latest 1.3.0 version.\n6963d0b (0.3.0) ISP-141/ISP-184: Add support for custom serializers: README update\n4afdbbe (0.2.0) ISP-141/ISP-143/ISP-144: Fixing a bug with the creation of the logs\ne1513f1 (0.1.0) ISP-141/ISP-143: Betterr refactoring of the Loggers, no dependencies, self-configuration for missing settings.\n\n```\n', | |
102 silly publish readmeFilename: 'README.md', | |
102 silly publish _id: '[email protected]', | |
102 silly publish dist: { shasum: '77b99b5e4b9c7d617de19780b2ab939f1cd177ad' }, | |
102 silly publish _from: '.' } | |
103 verbose url raw isp-logging | |
104 verbose url resolving [ 'http://localhost:8081/nexus/content/groups/npm-internal/', | |
104 verbose url resolving './isp-logging' ] | |
105 verbose url resolved http://localhost:8081/nexus/content/groups/npm-internal/isp-logging | |
106 error publish Failed PUT response undefined | |
107 error Error: login error | |
107 error at RegClient.<anonymous> (/usr/share/npm/node_modules/npm-registry-client/lib/request.js:82:22) | |
107 error at CouchLogin.<anonymous> (/usr/share/npm/node_modules/npm-registry-client/node_modules/couch-login/couch-login.js:177:14) | |
107 error at CouchLogin.<anonymous> (/usr/share/npm/node_modules/npm-registry-client/node_modules/couch-login/couch-login.js:159:46) | |
107 error at Request.self.callback (/usr/lib/nodejs/request/index.js:148:22) | |
107 error at Request.EventEmitter.emit (events.js:98:17) | |
107 error at Request.<anonymous> (/usr/lib/nodejs/request/index.js:896:14) | |
107 error at Request.EventEmitter.emit (events.js:117:20) | |
107 error at IncomingMessage.<anonymous> (/usr/lib/nodejs/request/index.js:847:12) | |
107 error at IncomingMessage.EventEmitter.emit (events.js:117:20) | |
107 error at _stream_readable.js:920:16 | |
108 error If you need help, you may report this log at: | |
108 error <http://github.com/isaacs/npm/issues> | |
108 error or email it to: | |
108 error <[email protected]> | |
109 error System Linux 3.13.0-32-generic | |
110 error command "/usr/bin/nodejs" "/usr/bin/npm" "publish" | |
111 error cwd /home/mdesales/dev/icode/isp-logging | |
112 error node -v v0.10.25 | |
113 error npm -v 1.3.10 | |
114 verbose exit [ 1, true ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment