Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3765 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hi,

 

I've built a couple of modules in Java for use in Scriptmaster and that works fine. Now I want to do some logging from my Java code to the default 360Works logfiles which are located in the user homedirectory in the folder 360Works.

Is there an easy way to do that?

 

I'm now doing this:

 

private static final Logger log = Logger.getLogger(MyPlugin.class.getName());

 

And to add a message to the log:

 

log.fine("Username: " + username);

 

But that doesn't do what I want.

 

Please help :-)

 

regards,

 

Marco

  • Newbies
Posted

Okay, already found it :-)

 

It should be: log.info("Username: " + username);

 

And then it will appear in the logfile.

This topic is 3765 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.