Coder Social home page Coder Social logo

demo-aop-log's Introduction

demo-aop-log

GitHub Repo stars

当前项目用于学习测试spring aop日志功能。

正式开源版本已经发布:https://easycode8.github.io/easy-log

历史说明

springboot版本说明

  1. Filter记录每个web数据请求的requestId记录日志
  2. WebLogAspect 记录web请求日志
    • 日志注解使用swagger方法的注解@ApiOperation(可以替换自己的注解测试功能)
  3. DaoLogAspect 记录web请求连接中的Mapper数据操作,通过reqeustId关联请求
    • 按表级别记录
    • 新增记录插入数据
    • 修改记录修改前的数据(高级生成对比日志)
    • 删除记录删除前的数据
  4. 增加mysql和h2数据源来测试功能
  5. 增加liquibase管理数据库脚本

quick start

  • 启动运行:com.myron.ims.Application默认启动使用h2数据库,可以根据启动参数切换
    • h2数据库: -Dspring.profiles.active: dev-h2-plus
    • mysql数据: -Dspring.profiles.active: dev
      # 创建数据库
      CREATE DATABASE `demo_aop_log` default CHARACTER set utf8 COLLATE utf8_unicode_ci;
  • 访问:http://127.0.0.1:9099

效果

联系

项目详细设计说明:http://blog.csdn.net/myron_007/article/details/54927529 博客回复疑问不及时。如果有问题可以加临时群,439019717,把问题说明截图,贴下下去。解决完可以退出。

demo-aop-log's People

Contributors

musicxi avatar username0000100000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

demo-aop-log's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.