Community
    • Login

    Automatic Data logging

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 407 Views
    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.
    • Brent SimpsonB
      Brent Simpson
      last edited by

      Hi guy’s (& girls),
      I’m relatively new at Notepad++ but found it very useful for logging my home automation system. It’s just ascii text but the files tend to grow over several days if I don’t go in each day and create a new log file.

      Is there anyway to automatically create a new log file each day or based on size?

      Thanks

      Brent

      1 Reply Last reply Reply Quote 0
      • rinku singhR
        rinku singh
        last edited by rinku singh

        @Brent-Simpson said:

        Hi guy’s (& girls),
        I’m relatively new at Notepad++ but found it very useful for logging my home automation system. It’s just ascii text but the files tend to grow over several days if I don’t go in each day and create a new log file.

        Is there anyway to automatically create a new log file each day or based on size?

        Thanks

        Brent

        what info you want into .log file

        1 Reply Last reply Reply Quote 0
        • PeterJonesP
          PeterJones
          last edited by

          @Brent-Simpson said:

          new at Notepad++

          Welcome to the Notepad++ Community.

          but found it very useful for logging my home automation system.

          I can see how it would be useful for reading the log from your home automation system. But I doubt Notepad++ is creating the log for you.

          It’s just ascii text but the files tend to grow over several days if I don’t go in each day and create a new log file.
          Is there anyway to automatically create a new log file each day or based on size?

          That would seem to be a task for whatever program is being used to create the log. Or for a separate program that monitors the log’s size and spawns off a copy whenever it gets big enough. You could write such a program using Notepad++, and could even use a PythonScript or similar plugin in Notepad++ to run the program, but this sounds like a pretty generic programming exercise that’s not specific to Notepad++.

          1 Reply Last reply Reply Quote 1
          • Brent SimpsonB
            Brent Simpson
            last edited by

            Duh! Apologies! Putty is doing the logging…

            It’s an age thing…

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors