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 7904599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T10:09:09+00:00 2026-06-03T10:09:09+00:00

I am planning to used audit logging plugin in grails and just wanted to

  • 0

I am planning to used audit logging plugin in grails and just wanted to know something basic.
We have to create the Audit domain class and persist data into this table on various events from the domain class manually right?
I mean the plugin does not create the domain and persist I am sure..but would that be the standard way to save the audit data?
Also
if I want entries in audit log like

“user sam logged in from “IP” at “timestamp” and updated user george”

I would need to handle it in the "onLoad" event in the domain right?

Also how would I track simple event like

“user Rita logged in at “Timestamp””

Thanks

  • 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-06-03T10:09:10+00:00Added an answer on June 3, 2026 at 10:09 am

    The audit logging plugin is much more automated than it appears you think. The plugin does indeed have its own domain class and does save all the audit information for you, without you having to do anything other than adding ‘auditable=true’ to your domain class that you want audited!

    As to the second part of your question, if sam updated george, the update to the fields on ‘george’ would be audited (assuming you added auditable=true to the domain class that george is), and the fact that sam did it would be captured by the ‘actor’ information depending on what security framework you’re using (this is documented in the plugin).

    Your desire to log timestamp and IP upon login may fall outside the audit logging plugin, unless there is a specific change to a domain class that you can capture when someone logs in.

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

Sidebar

Related Questions

im planning to create a movie file that might have over 16,000 frames?i know
I've programed a plugin for an installer package I am planning to use.I've used
We have a web-based product that is used for project management and planning. Each
I'm planning to create something that would do automated translation from Java to C#
Do anyone know which web server is used by play! framework? I'm planning to
Planning of using t4 template in a production environment. I have not used this
We are planning to upgrade our application to Rails3. One plugin we've used quite
I have used cocos2d c++ to create a small game on my Windows machine.
I am planning to create a Licensing Module which can be commonly used for
I am planning to make an application which will be used to create facebook

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.