• Login
Community
  • Login

Automatic Data logging

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
4 Posts 3 Posters 412 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.
  • B
    Brent Simpson
    last edited by Sep 14, 2019, 9:14 PM

    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
    • R
      rinku singh
      last edited by rinku singh Sep 14, 2019, 9:30 PM Sep 14, 2019, 9:29 PM

      @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
      • P
        PeterJones
        last edited by Sep 15, 2019, 12:13 AM

        @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
        • B
          Brent Simpson
          last edited by Sep 15, 2019, 3:19 AM

          Duh! Apologies! Putty is doing the logging…

          It’s an age thing…

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