Create log file

2013-04-02 Thread Crease
Hi,

I had created an app GWT, but I want to create log for debug my code. I 
want to have a log file where it leave all trace and after I can open this 
file with some text editor.

Can somebody help me? Does somebody have some examples?

Thanks. 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Create log file

2013-04-02 Thread Jens
You would need to send your client log to the server where it can be logged 
into a file. 

GWT emulates a subset of java.util.logging: 

https://developers.google.com/web-toolkit/doc/latest/DevGuideLogging
http://stackoverflow.com/questions/5812035/setup-a-remoteloggingservlet-in-gwt

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Log file

2011-06-24 Thread Ashish
I have putted some SOP (System.out.println) in my sever side, but I am
not sure where log files do generate. any body can tell me please ?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Log file

2011-06-24 Thread Ben Imp
The answer to that depends on which server you are using.  If its Tomcat, 
there should be a conf subdirectory with a catalina.out file in there, 
unless yours is configured differently.

-Ben

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/1meAumx3XkIJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT DevMode : logging to a log file

2011-02-12 Thread Adligo
Hi,

   I know if you use the Adligo i_log api you can send your log
messages to a Servlet and log them that way.

Cheers,
Scott

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT DevMode : logging to a log file

2011-02-09 Thread Приладышев Владимир
Здраствуйте хочу  предложить новую платежную систему

http://www.paybox.me/r/prgold

В Интернете продвигается новая платежная система - PayBox.

Так как она только в развитии - регистрация БЕСПЛАТНАЯ, и на счет
сразу ложится сумма в $25.

Каждый день, если Вы посещаете сайт, добавляется еще $20.

Аналогичным образом запускались системы Yandex-деньги и деньги
Mail.ru.
Таким образом компания привлекает людей, которые в будущем будут
пользоваться их услугами,
сегодня они дарят бонусы всем первым клиентам.
Акция не постоянная, спешите поучаствовать!
Никаких вложений от Вас не потребуется, просто переходите ссылке и
регистрируйтесь:

http://www.paybox.me/r/prgold

Если Вы плохо знаете английский, сохраните сначала инструкцию по
регистрациии
1. После открытия страницы справа нажмите на Click Here to Join Now!
(выделено голубым цветом).
2. Придумайте и введите логин, эл. почту, пароль (2 раза), поставьте
галочку слева от надписи I agree to the Terms of Service, нажмите
кнопку Continue.
3. На новой странице введите ещё раз почту и нажмите кнопку
Subscribe.

4. В открывшемся новом окне введите строку с картинки и нажмите кнопку
Subscribe.
5. Закройте окно, зайдите на указанный Вами е-мейл и активируйтесь по
ссылке.

Все готово! 25$ уже начислено!

Теперь заходите в свой аккаунт каждый день 2-3 раза и Вам будет
начисляться новые бонусы по 20$ за каждый день!

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT DevMode : logging to a log file

2011-02-08 Thread karthik reddy
By default all the GWT.log(.) statements log to the console . (this is 
not desirable for me because there is no way for me to do a Clear on the 
logs periodically and that affects my capability to debug).

So, I am trying to direct all my GWT.log(...) messages to a file which I can 
constantly clean up and start with a clean slate. 

I figured a way to do it: use the *-logdir  *option of the GWT compiler and 
pass the logging directory. But the one issue i have with this is ,  the 
logs are scattered across multiple files. (a new log file with 
a slightly different name gets created each time you re-load the application 
). So, in essence I am NOT able to get the messages to be directed to a 
SINGLE file.   Is there a way to do it ?? 

Any thoughts/pointers would are much appreciated. 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT DevMode : logging to a log file

2011-02-08 Thread Thomas Broyer
How about using java.util.logging? 
http://code.google.com/webtoolkit/doc/latest/DevGuideLogging.html

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT DevMode : logging to a log file

2011-02-08 Thread karthik reddy
I just took a look at the documentation at 
http://code.google.com/webtoolkit/doc/latest/DevGuideLogging.html  and it 
seems like FileHandler is not supported .  There is a line in the 
documentation that seems to indicate this:

The following classes are not emulated at all:

ErrorManager and LoggingPermission (not currently an issue in client logging)
FileHandler

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT DevMode : logging to a log file

2011-02-08 Thread Thomas Broyer
I understand it as that you cannot use the class FileHandler in your client 
code, which doesn't mean you cannot use it in your logging.properties 
configuration files when launching DevMode.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: How to show server log file on the client?

2010-07-28 Thread nacho
 and if you have a timer that runs every 5 seconds for example and
you call a rpc and get the last logs entries on the server?

On 28 jul, 02:21, Magnus alpineblas...@googlemail.com wrote:
 Hi,

 I would like to show the contents of a log at the client side:

 There is a complex operation (chess move analysis) on the server,
 triggered by a client's RPC serivce call.
 The operation produces a list of log entries, which should be
 presented at the client.

 My intuitive idea is to collect the log entries and return them as
 part of the return value of the RPC call. But in this case, all the
 log entries would be presented at once.

 I would prefer the log entries to be shown as they are created. I
 think that in this case the server has to contact the client. But I
 have no idea of a concept for such a scenario, and I would avoid
 getting the whole scene too complex.

 How would you do that?

 Thanks
 Magnus

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: How to show server log file on the client?

2010-07-28 Thread Nick
http://logging.apache.org/chainsaw/index.html

or build-your-own:

// (You may need to synchronise the methods or events list, provide
support for multiple HTTP sessions etc...
public class BufferedAppender extends
org.apache.log4j.AppenderSkeleton {
private ListLoggingEvent events;

@Override
public void append(LoggingEvent event) {
events.add(event);
}

public ListLoggingEvent getEvents() {
ListLoggingEvent newEvents = new
ArrayListLoggingEvent(events);
events.clear();
return newEvents;
}
}

appender name=weblog class=mypackage.BufferedAppender
param name=threshold value=all /
/appender

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: How to show server log file on the client?

2010-07-28 Thread lineman78
I would prefer the log entries to be shown as they are created. I
think that in this case the server has to contact the client.

I have run into this use case a lot as a lot of my work has to do with
operational environments.  You are correct that the traditional way of
doing a notification of sorts is for the notification hub to contact
the notification listeners, but this is not feasible in a web based
environment(unless you can specify a browser that supports web
sockets).  The most effective and universal solution is to make REST
calls on a repeating interval and if you use a last modified
architecture(only return stuff that has happened since the listener
last requested the data) you can shorten the refresh time to the point
where it is almost instantaneous.  I suspect this is how most AJAX IM
and chat applications work(think Facebook Messenger).

On Jul 27, 11:21 pm, Magnus alpineblas...@googlemail.com wrote:
 Hi,

 I would like to show the contents of a log at the client side:

 There is a complex operation (chess move analysis) on the server,
 triggered by a client's RPC serivce call.
 The operation produces a list of log entries, which should be
 presented at the client.

 My intuitive idea is to collect the log entries and return them as
 part of the return value of the RPC call. But in this case, all the
 log entries would be presented at once.

 I would prefer the log entries to be shown as they are created. I
 think that in this case the server has to contact the client. But I
 have no idea of a concept for such a scenario, and I would avoid
 getting the whole scene too complex.

 How would you do that?

 Thanks
 Magnus

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



How to show server log file on the client?

2010-07-27 Thread Magnus
Hi,

I would like to show the contents of a log at the client side:

There is a complex operation (chess move analysis) on the server,
triggered by a client's RPC serivce call.
The operation produces a list of log entries, which should be
presented at the client.

My intuitive idea is to collect the log entries and return them as
part of the return value of the RPC call. But in this case, all the
log entries would be presented at once.

I would prefer the log entries to be shown as they are created. I
think that in this case the server has to contact the client. But I
have no idea of a concept for such a scenario, and I would avoid
getting the whole scene too complex.

How would you do that?

Thanks
Magnus

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT LOG FILE

2010-03-03 Thread gadaleta.marco
There's a way to  logging  to a file client side?
Thank you

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT LOG FILE

2010-03-03 Thread Kevin Qiu
I believe it's not possible because GWT code eventually translates to
Javascript and runs in the client's browser. Javascript doesn't have the
permission to write to host's file system without using COM or XPCOMM.


On Wed, Mar 3, 2010 at 1:20 PM, gadaleta.marco gadaleta.ma...@gmail.comwrote:

 There's a way to  logging  to a file client side?
 Thank you

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT LOG FILE

2010-03-03 Thread mikedshaf...@gmail.com
Try this

http://code.google.com/p/gwt-log/

I haven't but it looks great.  Kevin is correct that natively,
Javascript and the Browser are not allowed to write a file to the
local file system.  Not a GWT thing, but a browser thing.  But the GWT
logging from code.google.com looks like it jumps into Firebug's API,
so you'll probably need to use Firefox.  Like I said, I'm only saying
it looks good, I haven't tried it (yet!).

Later,

Shaffer

On Mar 3, 11:34 am, Kevin Qiu kevin.jing@gmail.com wrote:
 I believe it's not possible because GWT code eventually translates to
 Javascript and runs in the client's browser. Javascript doesn't have the
 permission to write to host's file system without using COM or XPCOMM.

 On Wed, Mar 3, 2010 at 1:20 PM, gadaleta.marco 
 gadaleta.ma...@gmail.comwrote:



  There's a way to  logging  to a file client side?
  Thank you

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubs­cr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.- Hide quoted text -

 - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.