Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 888949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T13:29:16+00:00 2026-05-15T13:29:16+00:00

log.debug(Id: + domain.id) being domain.id a long value, I get the exception: Exception Message:

  • 0

log.debug(“Id:” + domain.id)

being domain.id a long value, I get the exception:

Exception Message: No signature of method: groovy.util.ConfigObject.debug() is applicable for argument types: (java.lang.String) values: [Id:9] Possible solutions: getAt(java.lang.String), dump(), get(java.lang.Object), get(java.lang.Object), get(java.lang.Object), merge(groovy.util.ConfigObject)

Is it required in grails to include only strings parameters in debug’s arguments?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T13:29:17+00:00Added an answer on May 15, 2026 at 1:29 pm

    Are you sure that log is an instance of Log4J’s Logger class? The error message looks a lot like it’s an instance of a completely different class (groovy.util.ConfigObject) instead.

    Besides, as you can see from the error message, the methid is being called with just a string. The concatenation of the values (into a single string) has already happened by the time the method is invoked.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When you do something like LOG.debug(Exported {}., product) in slf4j it will eventually call
I'm using Pantheios library for logging. I have: pantheios::log(pantheios::debug, I'm debug); pantheios::log(pantheios::informational, Some info);
I use Log functions to debug my Android app. I'm close to releasing my
Is there a cleaner way for me to write debug level log statements? In
How do I set the log4j configuration to log level DEBUG only for my
I want to print lots of debug log prints in C++. Is there a
In a standalone J2SE application I'm using some library code that uses Log.debug from
By default slf4j, when using with jdk ( slf4j-jdk14-1.6.1.jar ), does not log debug
I have this code. class MyParser < Nokogiri::XML::SAX::Document def characters(string) LOG.debug(characters #{string}) end def
Permission denied for <http://www.guy.lt> (document.domain=<http://www.guy.lt>) to get property Window.document from <http://www.guy.lt> (document.domain has not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.