ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved log.io on Fedora 26 Cannot Fine logging

    IT Discussion
    log.io linux fedora fedora 26 npm logging
    4
    13
    2.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stacksofplatesS
      stacksofplates @scottalanmiller
      last edited by

      @scottalanmiller said in log.io on Fedora 26 Cannot Fine logging:

      This is not the harvester, so in theory it should not be looking to any logs at all yet.

      Oh ok.

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        Same thing works fine immediately on Ubuntu 17.04

        black3dynamiteB 1 Reply Last reply Reply Quote 0
        • black3dynamiteB
          black3dynamite @scottalanmiller
          last edited by black3dynamite

          @scottalanmiller said in log.io on Fedora 26 Cannot Fine logging:

          Same thing works fine immediately on Ubuntu 17.04

          Isn't syslog enabled on ubuntu by default?
          Does it work on ubuntu after stopping syslog?

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • jmooreJ
            jmoore
            last edited by

            I like the idea of this program. Going to install and try it out.

            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @black3dynamite
              last edited by

              @black3dynamite said in log.io on Fedora 26 Cannot Fine logging:

              @scottalanmiller said in log.io on Fedora 26 Cannot Fine logging:

              Same thing works fine immediately on Ubuntu 17.04

              Isn't syslog enabled on ubuntu by default?
              Does it work on ubuntu after stopping syslog?

              Runs the same with it started or stopped. It's looking for a bit of logging code that it can't load.

              1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller
                last edited by

                Got it, this one is weird. The /root/.log.io/web_server.conf file is empty and it cannot be. Add this into it and voila:

                exports.config = {
                  host: '0.0.0.0',
                  port: 28778,
                
                  /* 
                  // Enable HTTP Basic Authentication
                  auth: {
                    user: "admin",
                    pass: "1234"
                  },
                  */
                
                  /* 
                  // Enable HTTPS/SSL
                  ssl: {
                    key: '/path/to/privatekey.pem',
                    cert: '/path/to/certificate.pem'
                  },
                  */
                
                  /*
                  // Restrict access to websocket (socket.io)
                  // Uses socket.io 'origins' syntax
                  restrictSocket: '*:*',
                  */
                
                  /*
                  // Restrict access to http server (express)
                  restrictHTTP: [
                    "192.168.29.39",
                    "10.0.*"
                  ]
                  */
                
                }
                
                1 Reply Last reply Reply Quote 0
                • jmooreJ
                  jmoore
                  last edited by

                  Nice catch. Is that .conf file empty on a Ubuntu system as well ?

                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @jmoore
                    last edited by

                    @jmoore said in log.io on Fedora 26 Cannot Fine logging:

                    Nice catch. Is that .conf file empty on a Ubuntu system as well ?

                    No, Ubuntu populates it with the sample data. Fedora does not. But it is the same npm command on both, so it is something wrong with their own install scripts.

                    1 Reply Last reply Reply Quote 0
                    • jmooreJ
                      jmoore
                      last edited by

                      Oh ok, that sure is weird.

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @jmoore
                        last edited by

                        @jmoore said in log.io on Fedora 26 Cannot Fine logging:

                        Oh ok, that sure is weird.

                        Just a bit.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post