Announcement

Collapse
No announcement yet.

[ASPx] Jon00 Homeseer Log Searcher

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Thanks, Jon. I thought it had to be simple to do.
    Steve

    (System configuration is in my profile)

    Comment


      #17
      Hi,

      this plugin is really great!!

      thanks a lot.

      Just some ideas of enhancement
      1. The accents are not managed. Would be nice to add it
      2. would be nice to see the erros in red. It does not work when you do a search. Always black. Sometimes you need to see the error in their context.
      Thanks again!
      Rod

      Comment


        #18
        Thanks for the comments.

        I've modified it now to accept accents and will release a new version shortly.

        Regarding the comments about seeing errors in red....

        When you search for the word 'error', it is in red (which you can configure to a different colour if you wish).

        Are you asking for the entire text to be in red when it sees a HS error message?
        Jon

        Comment


          #19
          thanks you so much for the accent

          When I access the default page (without search):
          logSearch.aspx

          It filters to errors only, and the word "error" is in red.
          Which is fine.

          But when I do a "*" search, the errors are not in red.
          ......
          OK, now I undersatnd, you write in red the words that are part of the search field :-)
          And I guess the defaut search is "error".
          I didn't test before (I only tested with * to see all the logs)

          OK OK.
          I thought the goal of the red color was to highlight the error

          So my request would be to highlight the error
          Could be by using a color or whatever.

          I am facing a lot of problems with my z-wave devices, so it would really help me to quickly investigate what happens when I was not at home, or the night, so I can focus on the error message, and what happens right before and after (so I can't use a "error" search because it only show the error message, which is sometimes fine, and sometimes I need a bit more ).

          Sorry, I realize I am not clear with my english. Hope you understood

          Rod

          Comment


            #20
            OK, I've added that feature. I'll package it up and let you know when you can download.
            Jon

            Comment


              #21
              V1.05 is now available

              Changes to this version:

              Added Language accent support.
              Added a method to highlight the HS Log error messages.

              If you are updating add the following to the LogSearch.ini file under [Settings]

              LogErrorColor=pink

              (I only chose that colour as red was taken for the search word 'error' before you ask! - change as you wish.)

              Replace Logsearch.aspx with the new version.

              Remember, to display the entire log, just use the date separator character in the search box field (normally /)
              Jon

              Comment


                #22
                it cannot be better
                Thanks a lot!

                Just one minor comment, the version number is not updated on your download web page

                Thanks again!
                Rod

                Comment


                  #23
                  Originally posted by webrod View Post
                  it cannot be better
                  Thanks a lot!

                  Just one minor comment, the version number is not updated on your download web page

                  Thanks again!
                  Rod
                  Well spotted! Now fixed!
                  Jon

                  Comment


                    #24
                    Suggestion

                    Jon,

                    Just a suggestion but once I found this program I wanted to use it as my primary log browser. But it took me a little bit to figure out to put a "/" as the first option to search from so it always displays the entire log when i load the page. Maybe in the next release you would consider adding this so no one else has to change the config file.

                    Thanks,
                    Rob

                    Comment


                      #25
                      Rob,

                      I'm happy to put this in the instructions, however the primary use of this was not as a log browser; rather to find keywords within the log. That said, it does seem that a few are using it to view the complete log lately.
                      Jon

                      Comment


                        #26
                        LogSearch as Primary Log Browser

                        Originally posted by jon00 View Post
                        Rob,

                        I'm happy to put this in the instructions, however the primary use of this was not as a log browser; rather to find keywords within the log. That said, it does seem that a few are using it to view the complete log lately.
                        Jon00,
                        I am trying out your log search .aspx page and I find myself gravitating to it instead of the HS log browser. But I use the "ascending" format and generally must scroll to the bottom to start with the latest log entry(as the homeseer log page viewer does automatically). Is it possible to have your .aspx page open at the last entry(bottom most). I'd be happy to modify my copy of your aspx page if you can give me some ideas on how?

                        The product is great--thanks so much for your efforts,
                        BobSpen

                        Comment


                          #27
                          Bob,

                          I think a small error has crept in as the setting that should swap ascending/descending is not working correctly.

                          Please download V1.08 from my site and set SortType="0" in the ini file.
                          Jon

                          Comment


                            #28
                            Scroll to bottom?

                            Originally posted by jon00 View Post
                            Bob,

                            I think a small error has crept in as the setting that should swap ascending/descending is not working correctly.

                            Please download V1.08 from my site and set SortType="0" in the ini file.
                            Jon,
                            Yes, I noticed that and had modified the page to fix. Thanks for the new version-I loaded it and only change I have made is to the "default"(selected) on the ascending/descending control so it's always ascending.
                            Now the question of "automatically" scrolling to the bottom of the page--can it be done??
                            Thanks,
                            Bob

                            Comment


                              #29
                              Try this:

                              Find the line:

                              sb.Appendline("</body></html>")

                              Change it to:

                              sb.Appendline("<a name='bottom'></a></body></html>")

                              Find the line:

                              sb.Appendline("<form method='GET' action='/LogSearch.aspx'>")

                              Change it to:

                              sb.Appendline("<form method='GET' action='/LogSearch.aspx#bottom'>")

                              Finally if you want to scroll to the bottom of the page when you first call the page use:

                              LogSearch.aspx#bottom
                              Jon

                              Comment


                                #30
                                Originally posted by jon00 View Post
                                Try this:

                                Find the line:

                                sb.Appendline("</body></html>")

                                Change it to:

                                sb.Appendline("<a name='bottom'></a></body></html>")

                                Find the line:

                                sb.Appendline("<form method='GET' action='/LogSearch.aspx'>")

                                Change it to:

                                sb.Appendline("<form method='GET' action='/LogSearch.aspx#bottom'>")

                                Finally if you want to scroll to the bottom of the page when you first call the page use:

                                LogSearch.aspx#bottom
                                Jon,
                                Thanks so much. Worked great except had to add

                                "?Reverse=0"

                                to the LogSearch.aspx#bottom page address(initial call) to maintain the "ascending" order.

                                Thanks again,
                                Bob

                                Comment

                                Working...
                                X