Community
    • Login

    Automatic Data logging

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 779 Views 3 Watching
    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 Offline
      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 Offline
        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 Online
          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 Offline
            Brent Simpson
            last edited by

            Duh! Apologies! Putty is doing the logging…

            It’s an age thing…

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors