obsolete get-logstamp function