Skip to content

Instantly share code, notes, and snippets.

@nbenn
Created July 15, 2023 12:30
Show Gist options
  • Save nbenn/f4cf2314da1cc32d8d5325b9a0e9cbe3 to your computer and use it in GitHub Desktop.
Save nbenn/f4cf2314da1cc32d8d5325b9a0e9cbe3 to your computer and use it in GitHub Desktop.
Gitea create user log
2023/07/15 09:04:24 models/user/user.go:696:CountUsers() [I] [SQL] SELECT count(*) FROM `user` WHERE type=? [0] - 5.220318ms
2023/07/15 09:04:24 .../[email protected]/app.go:524:HandleAction() [I] [SQL] BEGIN TRANSACTION [] - 67.022µs
2023/07/15 09:04:24 models/user/user.go:482:IsUserExist() [I] [SQL] SELECT `id`, `lower_name`, `name`, `full_name`, `email`, `keep_email_private`, `email_notifications_preference`, `passwd`, `passwd_hash_algo`, `must_change_password`, `login_type`, `login_source`, `login_name`, `type`, `location`, `website`, `rands`, `salt`, `language`, `description`, `created_unix`, `updated_unix`, `last_login_unix`, `last_repo_visibility`, `max_repo_creation`, `is_active`, `is_admin`, `is_restricted`, `allow_git_hook`, `allow_import_local`, `allow_create_organization`, `prohibit_login`, `avatar`, `avatar_email`, `use_custom_avatar`, `num_followers`, `num_following`, `num_stars`, `num_repos`, `num_teams`, `num_members`, `visibility`, `repo_admin_change_team_access`, `diff_view_style`, `theme`, `keep_activity_private` FROM `user` WHERE (id!=?) AND `lower_name`=? LIMIT 1 [0 giteauser] - 256.916µs
2023/07/15 09:04:24 ...ser/email_address.go:224:IsEmailUsed() [I] [SQL] SELECT `id`, `uid`, `email`, `lower_email`, `is_activated`, `is_primary` FROM `email_address` WHERE (lower_email=?) LIMIT 1 [[email protected]] - 44.671µs
2023/07/15 09:04:24 ...admin_user_create.go:150:runCreateUser() [I] [SQL] DELETE FROM `user_redirect` WHERE `lower_name`=? [giteauser] - 198.765µs
2023/07/15 09:04:24 models/user/user.go:665:CreateUser() [I] [SQL] INSERT INTO `user` (`lower_name`,`name`,`full_name`,`email`,`keep_email_private`,`email_notifications_preference`,`passwd`,`passwd_hash_algo`,`must_change_password`,`login_type`,`login_source`,`login_name`,`type`,`location`,`website`,`rands`,`salt`,`language`,`description`,`created_unix`,`updated_unix`,`last_login_unix`,`last_repo_visibility`,`max_repo_creation`,`is_active`,`is_admin`,`is_restricted`,`allow_git_hook`,`allow_import_local`,`allow_create_organization`,`prohibit_login`,`avatar`,`avatar_email`,`use_custom_avatar`,`num_followers`,`num_following`,`num_stars`,`num_repos`,`num_teams`,`num_members`,`visibility`,`repo_admin_change_team_access`,`diff_view_style`,`theme`,`keep_activity_private`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) [giteauser giteauser [email protected] false enabled *** pbkdf2$50000$50 false 0 0 1da04aef38cb4e1d7dbc0acc24c21e71 c1adbd68bb82e6ccf299b6fa75a7707d 1689411864 1689411864 0 false -1 true false false false false false false [email protected] false 0 0 0 0 0 0 public false auto false] - 1.188692ms
2023/07/15 09:04:24 models/user/user.go:676:CreateUser() [I] [SQL] INSERT INTO `email_address` (`uid`,`email`,`lower_email`,`is_activated`,`is_primary`) VALUES (?,?,?,?,?) [2 [email protected] [email protected] true true] - 324.598µs
2023/07/15 09:04:24 [email protected]/command.go:173:Run() [I] [SQL] COMMIT [] - 6.039079ms
New user 'giteauser' has been successfully created!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment