I have used texput to set the tex1 output of log(x) to be \\ln(x) with
texput
tex1
log(x)
\\ln(x)
texput(\'log, lambda([e],[a]:args(e), p