You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lif...@googlegroups.com
Thanks Diego,
I also want to get logs in scala code.
Like, appending them into a String or something.
Is that possible ?
Chenguang He
Diego Medina
unread,
Mar 5, 2013, 5:13:37 PM3/5/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Lift
could you explain a bit more, you mean, you want to add log entries
from your own snippets?
you do that by doing
import net.liftweb.common.Loggable
class MySnippet extends Loggable {
def render = {
logger.info("THis log entry will appear on the console or log files
if you enable info level for the package where this snippet is, you
can even include the snippet name on the xml file so that only this
snippet shows up on the logs")
Chenguang He
unread,
Mar 5, 2013, 5:18:28 PM3/5/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
16:12:45.043 [qtp1288896949-371 - /ajax_request/liftAjax.js] INFO net.liftweb.util.TimeHelpers - Service request (GET) /ajax_request/liftAjax.js returned 200, took 103 Milliseconds
But it is a output on console, what i want to get is something from a function, which like:
def getLogs:String = xxx
I want it return the logs, so i can get it and trim it
Thanks
Chenguang He
Diego Medina
unread,
Mar 5, 2013, 5:24:47 PM3/5/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Lift
ah, ok, no idea how to do that. You may want to ask on the logback mailing list
Diego
Chenguang He
unread,
Mar 5, 2013, 5:26:28 PM3/5/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message