CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Regular Expressions: Re: [1arryb] perl script help: Edit Log



perlisgreat
Novice

Jun 11, 2009, 7:17 AM


Views: 16527
Re: [1arryb] perl script help

Hi Larry,

Your suggestions and piece of code snippet are very helpful to me. I am getting a good idea about Perl now.
I have some more queries sir,

how can i make a comma seperated output summary.
i attached the sample log file.

I have to capture these data in the log file.

Arcotid
Time Stamp, Username, Success, Failure, Error Code, Error Message

In the log snippet the userID can be found in-


Code
Arcot Native Server: recvd AA_BIN_MSG_VER_CHG 
Cert Subject String....:[CN=01095848;O=MLS; UserID=01095848; CardName=ARCARD]

Success and failure are like this-

Code
ArcotID Auth SUCCESS (serial Number [e93b]) 
Auth fail due to signature verification.Serial Number [11872](This is error message also)

Code
 
error code is -
Authentication mechanism returned [3], here 3 is error code and for success error code is always 0.

Formatting and printing in csv format is the part i am unaware,so i require your help in this.I need to do this for all authentication methods so if i get help in one i will be able to do it for rest.

Thanks
NT


(This post was edited by namishtiwari on Jun 12, 2009, 2:17 AM)


Edit Log:
Post edited by perlisgreat (Novice) on Jun 11, 2009, 7:19 AM
Post edited by perlisgreat (Novice) on Jun 11, 2009, 7:25 AM
Post edited by perlisgreat (Novice) on Jun 12, 2009, 2:17 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives