Tuesday, December 12, 2006

Thanks a bunch

Massive 'duh' moment today. I needed to concatenate lines of text in log file - the better to sort out when an IP accessed one of my systems.

Paste of course. Duh.

Oh ... why? Because I have an application that is nice enough to log access by IP address and date/time. Knowing that of course we need to know how many and when by subnet.

Which would be EASY but the each connection is written to the log in three lines.

*I made a connection at this date - time* message

*application specific information I don't care about in this context*

*IP Address / application assigned client ID*

' There were times when he felt like saying the gods, Thanks a bunch. '

blog comments powered by Disqus