diff --git a/core/shared/logging.js b/core/shared/logging.js index e057e8166b..63a9faaf90 100644 --- a/core/shared/logging.js +++ b/core/shared/logging.js @@ -11,5 +11,6 @@ module.exports = logging({ transports: config.get('logging:transports'), gelf: config.get('logging:gelf'), loggly: config.get('logging:loggly'), + elasticsearch: config.get('logging:elasticsearch'), rotation: config.get('logging:rotation') }); diff --git a/package.json b/package.json index eafc4e0ca4..a23d319490 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ "express-query-boolean": "2.0.0", "express-session": "1.17.1", "fs-extra": "9.1.0", - "ghost-ignition": "4.4.3", + "ghost-ignition": "4.5.3", "ghost-storage-base": "0.0.4", "glob": "7.1.6", "got": "9.6.0", diff --git a/yarn.lock b/yarn.lock index a811e6c16b..4e6d638c25 100644 --- a/yarn.lock +++ b/yarn.lock @@ -402,19 +402,19 @@ resolved "https://registry.yarnpkg.com/@tryghost/bootstrap-socket/-/bootstrap-socket-0.2.5.tgz#9cb42e2287a57e6132b0a98b21ce36c034cffeb2" integrity sha512-h4+rwCwszj5ozih57P0W8NjrN9rit6VuuMfLpSUrpbVmRpWcrvmg3JXhlSyqhe/HjHmPA3wNuqLiMLmN8H/VAA== +"@tryghost/bunyan-rotating-filestream@0.0.6": + version "0.0.6" + resolved "https://registry.yarnpkg.com/@tryghost/bunyan-rotating-filestream/-/bunyan-rotating-filestream-0.0.6.tgz#c5a55ca3a7d0759394b94c8fb34e3d5810aa2a09" + integrity sha512-dN3F+TbV1UrkKR7eoEFQezuneinZArJvP4r1KvF3ukDJWmEalQrbstvfg4SyuCPgbZluy4if1xL7mShQR9pMcA== + dependencies: + long-timeout "^0.1.1" + "@tryghost/constants@0.1.4": version "0.1.4" resolved "https://registry.yarnpkg.com/@tryghost/constants/-/constants-0.1.4.tgz#7b185227fcad0aaa33d02abc9ba629adc8190039" integrity sha512-lFbfNU8jNPUxLQcxXXYzVFZMclJ4fcFoMuhed63xld/DoistWIRrI/dePEYNymG9nbYhDk/4szwdwGJE8ZURIg== -"@tryghost/elasticsearch-bunyan@^0.1.0": - version "0.1.0" - resolved "https://registry.yarnpkg.com/@tryghost/elasticsearch-bunyan/-/elasticsearch-bunyan-0.1.0.tgz#cb66b2eba0c5e5970645b4548e2a41b1ce7a33cc" - integrity sha512-Qg/6JfMU5l5+dWJDuXLTrq4CIzucIeZ2H3bH5cOY6Yp+rLqBAADhRzAdlwL6s2Ab/X7/156Ljl58Ik+dpsgWRQ== - dependencies: - "@elastic/elasticsearch" "^7.10.0" - -"@tryghost/elasticsearch-bunyan@^0.1.1": +"@tryghost/elasticsearch-bunyan@0.1.1", "@tryghost/elasticsearch-bunyan@^0.1.1": version "0.1.1" resolved "https://registry.yarnpkg.com/@tryghost/elasticsearch-bunyan/-/elasticsearch-bunyan-0.1.1.tgz#5a36d81dd020825dd563b1357ae6c249580c46f5" integrity sha512-ILhumzdwJNoRG44S0FkgzZQlkCYioTKWEiY+FFFQpTFWwZ3Jd5a6us5k8tEsd+Wf2rZOvul/ehV45j2c2l1BMw== @@ -4123,26 +4123,6 @@ ghost-ignition@4.4.2: prettyjson "1.2.1" uuid "8.3.2" -ghost-ignition@4.4.3: - version "4.4.3" - resolved "https://registry.yarnpkg.com/ghost-ignition/-/ghost-ignition-4.4.3.tgz#c837ab11e1f3a1cfd22cc24df6b506a9afc1bc25" - integrity sha512-eViE/ae+AGV/YmVbTq2W5TBWVu724EUJ0pjtSwa4q6o1+fXxMIqoELJaxMX+Gc9PBK0nI3J+E0JI8GdrEiqndg== - dependencies: - "@tryghost/elasticsearch-bunyan" "^0.1.0" - bunyan "1.8.15" - bunyan-loggly "1.4.2" - caller "1.0.1" - debug "4.3.1" - find-root "1.1.0" - fs-extra "9.1.0" - gelf-stream "1.1.1" - json-stringify-safe "5.0.1" - lodash "4.17.20" - moment "2.27.0" - nconf "0.10.0" - prettyjson "1.2.1" - uuid "8.3.2" - ghost-ignition@4.4.4: version "4.4.4" resolved "https://registry.yarnpkg.com/ghost-ignition/-/ghost-ignition-4.4.4.tgz#6d16912a733a21582680d859de3a1dff868d4c67" @@ -4163,6 +4143,27 @@ ghost-ignition@4.4.4: prettyjson "1.2.1" uuid "8.3.2" +ghost-ignition@4.5.3: + version "4.5.3" + resolved "https://registry.yarnpkg.com/ghost-ignition/-/ghost-ignition-4.5.3.tgz#ec0e72602bc89e0a9c5e1b99183daaa06b3e7091" + integrity sha512-ubvUZO3KruM16i9TM0+rJFLa21xfqN2iDSYQmKYYQP1d4qXgykPHlEjMUTA1ThZ5wU7kNTVswmls+iuOpMJjfw== + dependencies: + "@tryghost/bunyan-rotating-filestream" "0.0.6" + "@tryghost/elasticsearch-bunyan" "0.1.1" + bunyan "1.8.15" + bunyan-loggly "1.4.2" + caller "1.0.1" + debug "4.3.1" + find-root "1.1.0" + fs-extra "9.1.0" + gelf-stream "1.1.1" + json-stringify-safe "5.0.1" + lodash "4.17.21" + moment "2.27.0" + nconf "0.10.0" + prettyjson "1.2.1" + uuid "8.3.2" + ghost-ignition@^2.9.6: version "2.9.6" resolved "https://registry.yarnpkg.com/ghost-ignition/-/ghost-ignition-2.9.6.tgz#cc8358f0a356bae490e5abeca3c3bda8383352fe" @@ -6060,6 +6061,11 @@ lodash@4.17.20, lodash@^4.17.20, lodash@~4.17.20: resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52" integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA== +lodash@4.17.21: + version "4.17.21" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + log-symbols@4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.0.0.tgz#69b3cc46d20f448eccdb75ea1fa733d9e821c920" @@ -6077,7 +6083,7 @@ logd-console-output@^1.2.1: ee-types "^2.2.0" glob "^7.1.2" -long-timeout@~0.1.1: +long-timeout@^0.1.1, long-timeout@~0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/long-timeout/-/long-timeout-0.1.1.tgz#9721d788b47e0bcb5a24c2e2bee1a0da55dab514" integrity sha1-lyHXiLR+C8taJMLivuGg2lXatRQ=