mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-03-18 02:22:46 -05:00
adding sinopia version to logs
This commit is contained in:
parent
84a6e36d84
commit
230750ff88
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ function afterConfigLoad() {
|
|||
|
||||
var hostport = get_hostport()
|
||||
server(config).listen(hostport[1], hostport[0])
|
||||
logger.logger.warn({addr: 'http://'+hostport[0]+':'+hostport[1]+'/'}, 'Server is listening on @{addr}')
|
||||
logger.logger.warn({addr: 'http://'+hostport[0]+':'+hostport[1]+'/', version: 'Sinopia/'+pkg.version}, 'Server is listening on @{addr}')
|
||||
|
||||
// undocumented stuff for tests
|
||||
if (typeof(process.send) === 'function') {
|
||||
|
|
Loading…
Add table
Reference in a new issue