title: How do i get log output from Node.Js app runnng on Azure App Service Linux?
body: <p>I'm running a express.js app (starting a Nuxt application) on a Azure App Service on Linux and are getting a application error when requesting some pages.</p>
  
  <p>How do I get the console output from node in Azure on Linux? None of the logs provided seems to give me the node trace and console log output so how can I troubleshoot the error?</p>
  
  <p>My <code>server.js</code> looks like this:</p>
  
  <pre><code>const express = require('express')
  const {Nuxt} = require('nuxt')
  
  
  const app = express()
  const port = process.env.PORT || 3000
  // Import and set Nuxt.js options
  let config = require('./nuxt.config.js')
  config.dev = false;
  const nuxt = new Nuxt(config)
  // Give Nuxt middleware to express
  app.use(nuxt.render)
  // Listen the server
  app.listen(port);
  console.log('Server listening on :' + port);
  </code></pre>