From 5247ecfc064ed42d9cc78010edd673827c48ee7e Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 18 Mar 2019 15:07:15 -0500 Subject: [PATCH] add some logging --- index.js | 4 +- logs.html | 36010 ++++++++++++++++++++++++++++++++++++++++++++++++++++ stat.html | 0 3 files changed, 36012 insertions(+), 2 deletions(-) create mode 100644 logs.html create mode 100644 stat.html diff --git a/index.js b/index.js index b95aaca..f148222 100644 --- a/index.js +++ b/index.js @@ -34,7 +34,7 @@ Postgres.FirstRow = function (inSQL, args, inResponse) { server.get('/', (req, res) => res.send('node.js express is up and running')) -server.get('/logs', (req, res) => res.sendFile('~/forecast_api/logs.html')) +server.get('/logs', (req, res) => res.sendFile('//home/pt/forecast_api/logs.html')) server.get('/test_sql', function(req, res){ @@ -352,4 +352,4 @@ function build_where(req, c, w, d, args) { return { c, w, d }; } -server.listen(3000, () => console.log('started')) \ No newline at end of file +server.listen(3000, () => console.log('started')) diff --git a/logs.html b/logs.html new file mode 100644 index 0000000..1decda0 --- /dev/null +++ b/logs.html @@ -0,0 +1,36010 @@ + + + +pgBadger :: PostgreSQL Log Analyzer + + + + + + + + + + + + +


+
+ + + + + + +
+ + + +
+ +
+ + + diff --git a/stat.html b/stat.html new file mode 100644 index 0000000..e69de29