Automatic Data logging
-
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
-
@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 -
@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++.
-
Duh! Apologies! Putty is doing the logging…
It’s an age thing…
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