Re: read from syslog file ...

1999-04-26 Thread Jeff Galyan
Daniel Ignat wrote: > > i'm new in java .. and i need some topic for create a little programm > i need to formating a file for insert in a database: (/var/log/message) > You could just open the file using java.io.File, read it in, then write the new file in some directory this program would hav

Re: read from syslog file ...

1999-04-26 Thread galaviz
I think you can work with the String.substring() method, here's a little example of how it works. > > i'm new in java .. and i need some topic for create a little programm > i need to formating a file for insert in a database: (/var/log/message) > > > before > Apr 26 14:54:39

read from syslog file ...

1999-04-26 Thread Daniel Ignat
i'm new in java .. and i need some topic for create a little programm i need to formating a file for insert in a database: (/var/log/message) before Apr 26 14:54:39 ** kernel: PPP: ppp line discipline successfully unregistered Apr 26 15:04:17 ** PAM_pwdb[261]: (login) session clos