Custom program and serial port sniffer Dragrove/Dragino

I need to create a log (either to a file or server) of readings from a sensor, but the least time interval between logging that the Dragrove web interface allows is 60 seconds. I need something faster than that, at least 2 or 3 seconds.

Can I modify this limitation?

Is there a way to run a program made by myself that listens to the serial port and do the logging by its own?

Thanks in advance.

Jorge