Doesn't look like you can override this one :-/
If you have a look at the source code at https://github.com/phalcon/cphalcon/blob/master/ext/logger/formatter/line.c you see that the function phalcon_date is called with a date, a date format and a timestamp.
PHALCON_INIT_VAR(date);
phalcon_date(date, date_format, timestamp TSRMLS_CC);
That function is in string.c in the kernel: https://github.com/phalcon/cphalcon/blob/master/ext/kernel/string.c
void phalcon_date(zval *return_value, zval *format, zval *timestamp TSRMLS_DC)
{
long int ts;
zval copy;
int use_copy = 0;
char *formatted;
if (unlikely(Z_TYPE_P(format) != IS_STRING)) {
zend_make_printable_zval(format, ©, &use_copy);
if (use_copy) {
format = ©
}
}
ts = (timestamp) ? phalcon_get_intval(timestamp) : time(NULL);
formatted = php_format_date(Z_STRVAL_P(format), Z_STRLEN_P(format), ts, 1 TSRMLS_CC);
ZVAL_STRING(return_value, formatted, 0);
if (unlikely(use_copy)) {
zval_dtor(©);
}
}
It's the phalcon_get_intval function that is responsible for returning you the timestamp.
Unfortunately I cannot find where the php_format_date function is defined (can't find the ext/date/php_date.c file), which is the one that prints out the string to your log.
But then still, I see no possibility to override the timestamp formatting. You could write it yourself or submit a feature request.
Best regards,
Sven
BTW: how do you format an answer here to get those nice black backgrounds?