Make log function append